summaryrefslogtreecommitdiff
path: root/src/backend/vars
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-10 21:43:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-10 21:43:07 +0100
commit5211a7173d780490e6f4410886e73e5a1e64e72d (patch)
tree277c711a590ef0b00113f2f8a6df0d67412ee8c6 /src/backend/vars
parent699cb3baa9ad52bd242eca902e9807d8f2c41b23 (diff)
begin the spliting of vasile
Diffstat (limited to 'src/backend/vars')
-rw-r--r--src/backend/vars36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/backend/vars b/src/backend/vars
new file mode 100644
index 0000000..4a08a26
--- /dev/null
+++ b/src/backend/vars
@@ -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"