use git for kernel sources & improved CI workflow (#591)
* prepare: auto-fetch latest versions + harmonize kernel version var - Latest version is fetched from git: this prepares the road to moving to git cloning and fetching - Introduce the $_kver variable that follows a three digit convention (e.g. '600', '519', '504') to enable comparing simply between kernel versions Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * All distros: use git to fetch/update kernel sources - Force git cloning `linux-tkg` so the patches and config files are automatically checksummed - Arch: remove all the sha256sums and source files and automatically populate them on script run. - Move git cloning/fetching script to 'prepare' script file Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * accept customization.cfg vars as env vars This makes CLI way easier by enabling e.g. _version="5.19" makepkg or _version="5.19" ./install.sh install Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * prepare: better handle git remotes now there's a dictionary that gives the list of remotes Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * prepare: add default git remote if not set or not recognized Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * customization.cfg: allow specific kernel versions e.g. "6.0-rc4" or "5.10.51" Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> * ci: improved workflow 1. Check periodically for newer kernels with git 2. If a newer kernel exists, with respect to l latest Github release: 1. Build for cfs, pds, bmq for Arch 2. Make release Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
This commit is contained in:
committed by
GitHub
parent
cb4c79a2fb
commit
59afa4083c
@@ -84,6 +84,8 @@ If you prefer automatic setup you can install `anbox-support` from AUR which wil
|
||||
|
||||
### Install procedure
|
||||
|
||||
For all the supported linux distributions, `linux-tkg` has to be cloned with `git`. Since it keeps a clone of the kernel's sources within (`linux-src-git`, created during the first build after a fresh clone), it is recommended to keep the cloned `linux-tkg` folder and simply update it with `git pull`, the install script does the necessary cleanup at every run.
|
||||
|
||||
#### Arch & derivatives
|
||||
```shell
|
||||
git clone https://github.com/Frogging-Family/linux-tkg.git
|
||||
@@ -97,7 +99,7 @@ The script will use a slightly modified Arch config from the `linux-tkg-config`
|
||||
|
||||
#### DEB (Debian, Ubuntu and derivatives) and RPM (Fedora, SUSE and derivatives) based distributions
|
||||
|
||||
**Important notes:**
|
||||
**Important notes:**
|
||||
- Some issues have been reported by both Fedora (see https://github.com/Frogging-Family/linux-tkg/issues/383) and Ubuntu (see https://github.com/Frogging-Family/linux-tkg/issues/436) users where stock kernels cannot boot any longer, the whereabouts are still not entirely clear (it does not seem to affect every user)
|
||||
- Ubuntu: appears to be an initramfs generation issue
|
||||
- Fedora: needs disabling then re-enabling SELINUX so one can boot
|
||||
|
Reference in New Issue
Block a user