summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-12-09 18:16:13 +0000
committerV3n3RiX <venerix@rogentos.ro>2015-12-09 18:16:13 +0000
commitcdbfb0119c8a9cfc40e2757781748a4f18bad3a4 (patch)
treed0b5e36cad703f923c1518cde8505a93d1f9662f
parent2b42ca6e2adfb202136dae0991478dc9d1368f40 (diff)
enable iso liveboot, do some cleanup
-rwxr-xr-xiso325
-rwxr-xr-xiso645
2 files changed, 10 insertions, 0 deletions
diff --git a/iso32 b/iso32
index 2106871..332979f 100755
--- a/iso32
+++ b/iso32
@@ -31,6 +31,11 @@ makeisox86 () {
mksquashfs ""$isoname"/livecd" ""$isoname"/livecd.squashfs" -b 1048576 -comp xz -Xdict-size 100%
# Checksum the live environment
sha256sum ""$isoname"/livecd.squashfs" | tee ""$isoname"/livecd.squashfs.sha256"
+ # Remove live environment directory (we have it squashed now, no longer needed)
+ rm -rf ""$isoname"/livecd"
+ # Enable liveboot
+ touch ""$isoname"/livecd"
+ # Umount squashed core (Kogaion stage4)
umount "$coremnt"
}
diff --git a/iso64 b/iso64
index 767ed63..e5a0aa9 100755
--- a/iso64
+++ b/iso64
@@ -33,6 +33,11 @@ makeisox64 () {
mksquashfs ""$isoname"/livecd" ""$isoname"/livecd.squashfs" -b 1048576 -comp xz -Xdict-size 100%
# Checksum the live environment
sha256sum ""$isoname"/livecd.squashfs" | tee ""$isoname"/livecd.squashfs.sha256"
+ # Remove live environment directory (we have it squashed now, no longer needed)
+ rm -rf ""$isoname"/livecd"
+ # Enable liveboot
+ touch ""$isoname"/livecd"
+ # Umount squashed core (Kogaion stage4)
umount "$coremnt"
}