diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-01-01 23:31:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-01-01 23:31:53 +0000 |
commit | 5f3911ae64c1d1295868cf217c9ae7ab0ad46156 (patch) | |
tree | f83242eeab90315cb8b6560577e9f0bed3eb245d /iso64 | |
parent | 7356b72715b9009dcc299ab73aed3340a4f24c73 (diff) |
minor fix for double squashed live env
Diffstat (limited to 'iso64')
-rwxr-xr-x | iso64 | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -12,6 +12,7 @@ makeisox64 () { mkdir -p "$isoefibootdirx64" mkdir -p "$isoliveosdirx64" mkdir -p "$isosupersquashdirx64" + mkdir -p "$isolivesqfsdirx64" # mount && copy our core stage 4 image mount -t squashfs "$chrootx64" "$isostagingdirx64" rsync -aHAXr --progress "$isostagingdirx64/" "$isosyncdirx64/" @@ -29,9 +30,9 @@ makeisox64 () { # move our squashed live environment on place mv ""$isosyncdirx64".img" "$isosupersquashdirx64" # squash it again to be detected by dmsquash-live - mksquashfs "$isosupersquashdirx64" "squashfs.img" + mksquashfs "$isosupersquashdirx64" ""$isorootdirx64"/squashfs.img" # and again, move our double squashed live environment on place - mv "squashfs.img" "$isoliveosdirx64" + mv ""$isorootdirx64/"squashfs.img" "$isoliveosdirx64" } bootcorex64 () { @@ -42,6 +43,7 @@ bootcorex64 () { cleanupisox64 () { rm -rf "$isosyncdirx64" + rm -rf "$isosupersquashdirx64" rm -rf "$bootcorepath" umount "$isostagingdirx64" } |