diff options
-rwxr-xr-x | iso32 | 13 | ||||
-rwxr-xr-x | iso64 | 13 |
2 files changed, 22 insertions, 4 deletions
@@ -22,10 +22,17 @@ makeisox86 () { mksquashfs "$livedirx86" ""$livedirx86".squashfs" -b 1048576 -comp xz -Xdict-size 100% # Checksum the live environment sha256sum ""$livedirx86".squashfs" | tee ""$livedirx86".squashfs.sha256" - # Remove live environment directory (we have it squashed now, no longer needed) - rm -rf "$livedirx86" # Enable liveboot touch "$livedirx86" +} + +bootcorex86 () { + echo "injecting live bootloader configuration" +} + +cleanupisox86 () { + # Remove live environment directory (we have it squashed now, no longer needed) + rm -rf "$livedirx86" # Umount squashed core (Kogaion stage4) umount "$coremntx86" } @@ -33,6 +40,8 @@ makeisox86 () { main () { chrootchecksumx86 makeisox86 + bootcorex86 + cleanupisox86 } main @@ -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 |