summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-02-17 00:30:53 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-02-17 00:30:53 +0100
commitd3816073d3f110a57cd75f30d47bd06fcb94f601 (patch)
tree4bfeb66d9a1574093ad8ae0df4022f89a7114605 /config
parent24fbdd0aa2dddd72016a0608ba23b178dd995509 (diff)
downloadkanotix-d3816073d3f110a57cd75f30d47bd06fcb94f601.zip
kanotix-d3816073d3f110a57cd75f30d47bd06fcb94f601.tar.gz
added hybrid-ISO feature: embedded partiton with ISO offset
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