Add kernel post-installation script to regenerate grub2 config
Since we now allow using Fedora kernel, add a script to generate proper bootloader configuration then. Standard Fedora mechanism relies on Boot Loader Specification support in grub2, which sadly does not support Xen, so it is useless in Qubes.
This commit is contained in:
parent
20051e18c9
commit
2a14ae9c0b
@ -138,6 +138,7 @@ install -d $RPM_BUILD_ROOT/etc/udev/rules.d
|
||||
install -m 644 system-config/00-qubes-ignore-devices.rules $RPM_BUILD_ROOT/etc/udev/rules.d/
|
||||
install -m 644 system-config/60-persistent-storage.rules $RPM_BUILD_ROOT/etc/udev/rules.d/
|
||||
install -m 644 -D system-config/disable-lesspipe $RPM_BUILD_ROOT/etc/profile.d/zz-disable-lesspipe
|
||||
install -m 755 -D system-config/kernel-grub2.install $RPM_BUILD_ROOT/usr/lib/kernel/install.d/90-grub2.install
|
||||
|
||||
### Icons
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/qubes/icons
|
||||
@ -247,6 +248,7 @@ chmod -x /etc/grub.d/10_linux
|
||||
/usr/lib64/pm-utils/sleep.d/52qubes-pause-vms
|
||||
/usr/lib/systemd/system/qubes-suspend.service
|
||||
# Others
|
||||
/usr/lib/kernel/install.d/90-grub2.install
|
||||
/etc/sysconfig/modules/qubes-dom0.modules
|
||||
/etc/sysconfig/modules/cpufreq-xen.modules
|
||||
/etc/sudoers.d/qubes
|
||||
|
3
system-config/kernel-grub2.install
Executable file
3
system-config/kernel-grub2.install
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
grub2-mkconfig -o /boot/grub2/grub.cfg
|
Loading…
Reference in New Issue
Block a user