From f17b165d3b94ab5a342144f2f8db597cb920dac8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 9 Dec 2015 18:58:27 +0000 Subject: simplify things a bit --- iso32 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iso32') diff --git a/iso32 b/iso32 index 45d2b38..8c83afc 100755 --- a/iso32 +++ b/iso32 @@ -7,15 +7,15 @@ checkroot export local mainarch="x86" export local isoname=""$releasename"-"$releaseversion"-"$mainarch"" +export local livedir=""$isoname"/livecd" +export local isoboot=""$livedir"/boot/grub" export local kernelname="kernel-genkernel-"$mainarch"-"$kernelver"" export local ramfsname="initramfs-genkernel-"$mainarch"-"$kernelver"" makeisox86 () { # ISO layout mkdir -p "$coremnt" - mkdir -p ""$isoname"/livecd" - mkdir -p ""$isoname"/boot" - mkdir -p ""$isoname"/boot/grub" + mkdir -p "$isoboot" # Mount && Sync squashed core (Kogaion stage4) into live environment mount -t squashfs "$chrootx86" "$coremnt" rsync -aHAXr --progress "$coremnt/" ""$isoname"/livecd/" -- cgit v1.2.3