diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-12 17:19:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-12 17:19:55 +0100 |
commit | a28652bb4a5baf7307f8d2f29bb765e18705cfb8 (patch) | |
tree | 265fdb1627ea65e033187b6577c5a801e22b29ba /src/backend/variables_jail.sh | |
parent | d20b59f5b32fec29809795ac18b615cd0bac9798 (diff) |
day 3 : split even more
Diffstat (limited to 'src/backend/variables_jail.sh')
-rw-r--r-- | src/backend/variables_jail.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/backend/variables_jail.sh b/src/backend/variables_jail.sh new file mode 100644 index 0000000..4a08a26 --- /dev/null +++ b/src/backend/variables_jail.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash + +export local distupstream="gentoo" +export local distname="redcore" +export local disttarget="desktop" +export local distver="1" +export local kernver="4.9.53-"$distname"-lts" + +export local jailx64=""$distname"_"$distver"_core_x64.squashfs" +export local jailx64sum=""$jailx64".md5sum" + +export local ropath="rodir" +export local rwpath="rwdir" +export local workpath="workdir" +export local overlaypath="overlaydir" + +export local jailuser="root" +export local jailarch="x86_64" +export local jailtarget="${@:2}" +export local jailkernname="kernel-genkernel-"$jailarch"-"$kernver"" +export local jailramfsname="initramfs-genkernel-"$jailarch"-"$kernver"" +export local jailrootpath="$distname"-"$disttarget"-"$distver"-"$jailarch" +export local jailsynctarget=""$jailrootpath"/rootfs" +export local jailsyncsource="/tmp/"$jailrootpath"" +export local jailbootldrpath=""$jailrootpath"/boot/grub" +export local jailefildrpath=""$jailrootpath"/efi/boot" +export local jaildvdpath=""$jailrootpath"/CDroot" +export local jailsquashfspath=""$jailrootpath"/LiveOS" +export local jailrealfspath=""$jaildvdpath"/LiveOS" +export local jailbootldrdlpath="/tmp/bootcore" +export local jailbootldrcfgpath=""$jailbootldrdlpath"/cdroot/boot" +export local jailmainportpath="/usr/ports/"$distupstream"" +export local jailaddonportpath="/usr/ports/"$distname"" +export local jailportcfgtarget="/etc/portage" +export local jailportcfgsource="/opt/"$distname"-build/conf/intel/portage" +export local jailportvcspath="/opt/"$distname"-build" |