summaryrefslogtreecommitdiff
path: root/iso64
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-12-12 22:51:54 +0000
committerV3n3RiX <venerix@rogentos.ro>2015-12-12 22:51:54 +0000
commit74ebeeb4c3a5e661461a8bdc6feef262d1f22e7d (patch)
tree73e1c36c74d9de4f6d522ec5cf6350b278ed7d17 /iso64
parente231a76072986498cb0ba89a0fcdcd37aca272a7 (diff)
split iso creation into several steps
Diffstat (limited to 'iso64')
-rwxr-xr-xiso6413
1 files changed, 11 insertions, 2 deletions
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