diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-12-09 18:58:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-12-09 18:58:27 +0000 |
commit | f17b165d3b94ab5a342144f2f8db597cb920dac8 (patch) | |
tree | b32b2d5242ddba07b955264d3461bdb145b1485f /iso64 | |
parent | e28bc3bc338f9b2cfa0e3a8841e76604761712cc (diff) |
simplify things a bit
Diffstat (limited to 'iso64')
-rwxr-xr-x | iso64 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -7,17 +7,17 @@ checkroot export local mainarch="x86_64" export local isoname=""$releasename"-"$releaseversion"-"$mainarch"" +export local livedir=""$isoname"/livecd" +export local isoboot=""$livedir"/boot/grub" +export local isoefiboot=""$livedir"/efi/boot" export local kernelname="kernel-genkernel-"$mainarch"-"$kernelver"" export local ramfsname="initramfs-genkernel-"$mainarch"-"$kernelver"" makeisox64 () { # ISO layout mkdir -p "$coremnt" - mkdir -p ""$isoname"/livecd" - mkdir -p ""$isoname"/boot" - mkdir -p ""$isoname"/boot/grub" - mkdir -p ""$isoname"/efi" - mkdir -p ""$isoname"/efi/boot" + mkdir -p "$isoboot" + mkdir -p "$isoefiboot" # Mount && Sync squashed core (Kogaion stage4) into live environment mount -t squashfs "$chrootx64" "$coremnt" rsync -aHAXr --progress "$coremnt/" ""$isoname"/livecd/" |