summaryrefslogtreecommitdiff
path: root/iso32
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 /iso32
parent7356b72715b9009dcc299ab73aed3340a4f24c73 (diff)
minor fix for double squashed live env
Diffstat (limited to 'iso32')
-rwxr-xr-xiso326
1 files changed, 4 insertions, 2 deletions
diff --git a/iso32 b/iso32
index cd01cf8..5e764f7 100755
--- a/iso32
+++ b/iso32
@@ -11,6 +11,7 @@ makeisox86 () {
mkdir -p "$isobootdirx86"
mkdir -p "$isoliveosdirx86"
mkdir -p "$isosupersquashdirx86"
+ mkdir -p "$isolivesqfsdirx86"
# mount && copy our core stage 4 image
mount -t squashfs "$chrootx86" "$isostagingdirx86"
rsync -aHAXr --progress "$isostagingx86/" "$isosyncdirx86/"
@@ -28,9 +29,9 @@ makeisox86 () {
# move our squashed live environment on place
mv ""$isosyncdirx86".img" "$isosupersquashdirx86"
# squash it again to be detected by dmsquash-live
- mksquashfs "$isosupersquashdirx86" "squashfs.img"
+ mksquashfs "$isosupersquashdirx86" ""$isorootdirx86"/squashfs.img"
# and again, move our double squashed live environment on place
- mv "squashfs.img" "$isoliveosdirx86"
+ mv ""$isorootdirx86"/squashfs.img" "$isoliveosdirx86"
}
bootcorex86 () {
@@ -42,6 +43,7 @@ bootcorex86 () {
cleanupisox86 () {
rm -rf "$isosyncdirx86"
rm -rf "$bootcorepath"
+ rm -rf "$isosupersquashdirx86"
umount "$isostagingdirx86"
}