lkrg-org / lkrg

Linux Kernel Runtime Guard
https://lkrg.org
Other
410 stars 72 forks source link

mkosi-mainline failing with "/etc/default/grub: No such file or directory" #227

Closed solardiz closed 2 years ago

solardiz commented 2 years ago

@vt-alt Starting yesterday, we're getting this:

 dracut: *** Creating initramfs image file '/boot/initrd.img-6.0.0-060000rc2daily20220824-generic' done ***
+ sed -i /GRUB_CMDLINE_LINUX_DEFAULT/d /etc/default/grub
sed: can't read /etc/default/grub: No such file or directory
‣ Error: Workspace command /root/postinst final returned non-zero exit code 2.

e.g. in https://github.com/lkrg-org/lkrg/runs/8132981536?check_suite_focus=true

vt-alt commented 2 years ago
‣ Warning: The --boot-protocols is deprecated and has no effect anymore

Seems another mkosi improvement, systemd/mkosi@2db9f7ff41cda0d6387c571947d5a95938958078.