diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-12-12 22:51:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-12-12 22:51:54 +0000 |
commit | 74ebeeb4c3a5e661461a8bdc6feef262d1f22e7d (patch) | |
tree | 73e1c36c74d9de4f6d522ec5cf6350b278ed7d17 /iso64 | |
parent | e231a76072986498cb0ba89a0fcdcd37aca272a7 (diff) |
split iso creation into several steps
Diffstat (limited to 'iso64')
-rwxr-xr-x | iso64 | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |