diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-01-01 22:45:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-01-01 22:45:38 +0000 |
commit | 7356b72715b9009dcc299ab73aed3340a4f24c73 (patch) | |
tree | 75d9b29f0126073cd5b37366cfe6e135b5959c4e /iso32 | |
parent | a7cbb0af4c1d19708baa484f7caa38a8cd6070de (diff) |
double squash our live environment, put it in place for dmsquash-live to detect it
Diffstat (limited to 'iso32')
-rwxr-xr-x | iso32 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -9,6 +9,7 @@ makeisox86 () { # create live iso layout mkdir -p "$isostagingdirx86" mkdir -p "$isobootdirx86" + mkdir -p "$isoliveosdirx86" mkdir -p "$isosupersquashdirx86" # mount && copy our core stage 4 image mount -t squashfs "$chrootx86" "$isostagingdirx86" @@ -24,6 +25,12 @@ makeisox86 () { # squash live environment mksquashfs "$isosyncdirx86" ""$isosyncdirx86".img" -b 1048576 -comp xz -Xdict-size 100% sha256sum ""$isosyncdirx86".img" | tee ""$isosyncdirx86".img.sha256" + # move our squashed live environment on place + mv ""$isosyncdirx86".img" "$isosupersquashdirx86" + # squash it again to be detected by dmsquash-live + mksquashfs "$isosupersquashdirx86" "squashfs.img" + # and again, move our double squashed live environment on place + mv "squashfs.img" "$isoliveosdirx86" } bootcorex86 () { |