mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 15:42:58 +00:00

1. In SecureBoot grub2 allows to exit secure mode and boot unsigned kernel - making use of this feature in iso grub config.
15 lines
624 B
Diff
15 lines
624 B
Diff
diff --git a/imgcreate/live.py b/imgcreate/live.py
|
|
index e9eb2ac..f959f14 100644
|
|
--- a/imgcreate/live.py
|
|
+++ b/imgcreate/live.py
|
|
@@ -801,8 +801,8 @@ search --no-floppy --set=root -l '%(isolabel)s'
|
|
else:
|
|
args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
|
|
return """menuentry '%(long)s' --class rosa --class gnu-linux --class gnu --class os {
|
|
- linuxefi /isolinux/vmlinuz%(index)s root=%(rootlabel)s %(liveargs)s %(extra)s
|
|
- initrdefi /isolinux/initrd%(index)s.img
|
|
+ linux /isolinux/vmlinuz%(index)s root=%(rootlabel)s %(liveargs)s %(extra)s
|
|
+ initrd /isolinux/initrd%(index)s.img
|
|
}
|
|
""" %args
|
|
|