summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/binary_iso/isoimage.sort7
-rwxr-xr-xconfig/binary_local-hooks/mkembeddediso21
2 files changed, 25 insertions, 3 deletions
diff --git a/config/binary_iso/isoimage.sort b/config/binary_iso/isoimage.sort
index 1495a1d..5ae4594 100644
--- a/config/binary_iso/isoimage.sort
+++ b/config/binary_iso/isoimage.sort
@@ -1,6 +1,7 @@
-binary/boot.catalog +4
-binary/boot.isohybrid +3
-binary/boot.efi.img +2
+binary/boot.catalog +9
+binary/boot.isohybrid +7
+binary/boot.efi.img +5
+binary/boot.iso.img +3
binary/boot +1
binary/*/*.squashfs -1
binary/*.squashfs -1
diff --git a/config/binary_local-hooks/mkembeddediso b/config/binary_local-hooks/mkembeddediso
new file mode 100755
index 0000000..c2e4ce9
--- /dev/null
+++ b/config/binary_local-hooks/mkembeddediso
@@ -0,0 +1,21 @@
+#! /bin/sh
+# mkembeddediso - written by Andreas Loibl <andreas@andreas-loibl.de>
+#
+# Generate space on the ISO for an offset copy of the ISO file table
+
+case "$LB_BOOTLOADER" in
+grub2|burg)
+ ;;
+*)
+ exit 0
+ ;;
+esac
+
+
+img=binary/boot.iso.img
+[ "$1" ] && img="$1"
+rm -f "$img"
+
+dd if=/dev/zero bs=512k count=1 of="$img" >/dev/null 2>/dev/null
+
+exit 0