Support netboot.xyz.lkrn addon
authorMichael Prokop <mika@grml.org>
Fri, 26 May 2017 21:32:17 +0000 (23:32 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 26 May 2017 21:32:17 +0000 (23:32 +0200)
For the grml96 flavours we use grml2iso, which itself
relies on grml2usb for copying the relevant files.
With the addition of the netboot.xyz.lkrn file we
forgot

Actually it would be nice to copy any present addon
from /boot/addons/, but close to the new stable Grml
release let's keep the change as small as possible.

Thanks: Michael Schierl for reporting the bug
Closes grml/grml#25

grml2usb

index b0ee2b1..624aa42 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1027,6 +1027,9 @@ def copy_addons(iso_mount, target):
     # ipxe.lkrn
     handle_addon_copy('ipxe.lkrn', addons, iso_mount)
 
+    # netboot.xyz
+    handle_addon_copy('netboot.xyz.lkrn', addons, iso_mount)
+
 
 def build_loopbackcfg(target):
     """Generate GRUB's loopback.cfg based on existing config files.