From 5f3911ae64c1d1295868cf217c9ae7ab0ad46156 Mon Sep 17 00:00:00 2001 From: V3n3RiX <venerix@rogentos.ro> Date: Fri, 1 Jan 2016 23:31:53 +0000 Subject: minor fix for double squashed live env --- iso32 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'iso32') 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" } -- cgit v1.2.3