summaryrefslogtreecommitdiff
path: root/iso64
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-01-01 23:31:53 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-01-01 23:31:53 +0000
commit5f3911ae64c1d1295868cf217c9ae7ab0ad46156 (patch)
treef83242eeab90315cb8b6560577e9f0bed3eb245d /iso64
parent7356b72715b9009dcc299ab73aed3340a4f24c73 (diff)
minor fix for double squashed live env
Diffstat (limited to 'iso64')
-rwxr-xr-xiso646
1 files changed, 4 insertions, 2 deletions
diff --git a/iso64 b/iso64
index d44879d..531fdba 100755
--- a/iso64
+++ b/iso64
@@ -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"
}