diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-12-09 18:16:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-12-09 18:16:13 +0000 |
commit | cdbfb0119c8a9cfc40e2757781748a4f18bad3a4 (patch) | |
tree | d0b5e36cad703f923c1518cde8505a93d1f9662f | |
parent | 2b42ca6e2adfb202136dae0991478dc9d1368f40 (diff) |
enable iso liveboot, do some cleanup
-rwxr-xr-x | iso32 | 5 | ||||
-rwxr-xr-x | iso64 | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -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" } @@ -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" } |