install.sh: Add convenience script for generic install (#227)

* install.sh: simplify ccache code

* install.sh: add generic distro install

* README: update with Generic distro install

* install.sh: update help messages
This commit is contained in:
Adel Kara Slimane
2021-04-30 18:32:30 +02:00
committed by GitHub
parent 2994601740
commit 89cd81e726
3 changed files with 67 additions and 17 deletions

View File

@@ -119,3 +119,11 @@ The command to do for that is:
./install.sh config
```
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 install
sudo dracut --hostonly --kver $_kernelname
sudo grub-mkconfig -o /boot/grub/grub.cfg
```