From 74ebeeb4c3a5e661461a8bdc6feef262d1f22e7d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 12 Dec 2015 22:51:54 +0000 Subject: split iso creation into several steps --- iso64 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'iso64') diff --git a/iso64 b/iso64 index 2dd93c7..50ad4c4 100755 --- a/iso64 +++ b/iso64 @@ -23,10 +23,17 @@ makeisox64 () { mksquashfs "$livedirx64" ""$livedirx64".squashfs" -b 1048576 -comp xz -Xdict-size 100% # Checksum the live environment sha256sum ""$livedirx64".squashfs" | tee ""$livedirx64".squashfs.sha256" - # Remove live environment directory (we have it squashed now, no longer needed) - rm -rf "$livedirx64" # Enable liveboot touch "$livedirx64" +} + +bootcorex64 () { + echo "injecting live bootloader configuration" +} + +cleanupisox64 () { + # Remove live environment directory (we have it squashed now, no longer needed) + rm -rf "$livedirx64" # Umount squashed core (Kogaion stage4) umount "$coremntx64" } @@ -34,6 +41,8 @@ makeisox64 () { main () { chrootchecksumx64 makeisox64 + bootcorex64 + cleanupisox64 } main -- cgit v1.2.3