Fix winesync for non-arch distros (#243)
* install.sh: install headers in /usr/include for winesync to work This implies reverting a previous change in deb and rpm distros and adding make headers_install in the Generic approach Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * install.sh: install winesync.rules file This file will not be removed and will be left dangling Not so bad I think, since only winesync uses it. We can remove it in the future if things change Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * prepare: remove winesync.rules file during cleanup So we can check if the user actually asked for winesync in the current run by checking if the file exists. Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * install.sh: add winesync to /etc/modules-load.d for auto-loading Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
This commit is contained in:
committed by
GitHub
parent
54c74a72c3
commit
f0ccecfdb2
@@ -122,8 +122,10 @@ The command to do for that is:
|
||||
If one chooses `Generic` as distro. `./install.sh install` will compile the kernel then prompt before doing the following:
|
||||
```shell
|
||||
sudo make modules_install
|
||||
sudo make headers_install INSTALL_HDR_PATH=/usr # CAUTION: this will replace files in /usr/include
|
||||
sudo make install
|
||||
sudo dracut --hostonly --kver $_kernelname
|
||||
sudo dracut --force --hostonly --kver $_kernelname
|
||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||
```
|
||||
**Note:** these changes will not be tracked by your package manager and uninstalling requires manual intervention.
|
||||
|
||||
|
Reference in New Issue
Block a user