6.5.y: Suse TW fixups
- Import Suse depmod/kmod patches - https://github.com/SUSE/kernel-source/tree/master/patches.rpmify
- Tweak mkspec to respect Suse /usr usage
- Run grub2-mkconfig post-install
- Get rid of the undesired test tweak in 0013-fedora-rpm.patch added with e0c74e5e15
We may have some additional work to do as my limited testing with Arch's defconfig + _kernel_on_diet="true" didn't boot. It might actually work with the full defconfig or using Suse's using _configfile="running-kernel". I'll run more tests as needed on my main machine as it was a PITA working on this with a dualcore broadwell laptop 🐸
This commit is contained in:
@@ -282,6 +282,11 @@ if [ "$1" = "install" ]; then
|
||||
sudo zypper install --allow-unsigned-rpm $_kernel_rpm $_kernel_devel_rpm
|
||||
fi
|
||||
|
||||
if [ "$_distro" = "Suse" ]; then
|
||||
msg2 "Updating GRUB"
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
fi
|
||||
|
||||
msg2 "Install successful"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user