summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-08-30 08:34:49 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-08-30 08:34:49 +0100
commit3126bda8b8e03c1a9ee32aacf5caf6204d958f3f (patch)
treee13aa8d6f223ab32c1c757e192c106b7478d248e /libvasile
parent3a6e918d46840289227e58a5ac1850113fcd2400 (diff)
move some common variables to libvasile, common functions will follow
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile18
1 files changed, 18 insertions, 0 deletions
diff --git a/libvasile b/libvasile
new file mode 100755
index 0000000..0f294a5
--- /dev/null
+++ b/libvasile
@@ -0,0 +1,18 @@
+# env mount variables
+export local rodir="rodir"
+export local rwdir="rwdir"
+export local overlaydir="overlaydir"
+
+# env user variable
+export local envkogaionuser="root"
+
+# env target variable (can be a single package, multiple packages, or a target file passed as parameter)
+export local envkogaiontarget="$@"
+export local envkogaionbuildtarget="emerge -kav "$envkogaiontarget""
+
+# env buildsystem variables
+export local envkogaionoverlay="layman -f -a kogaion -o https://raw.github.com/Rogentos/kogaion/master/overlay.xml"
+export local envkogaiondesktopoverlay="layman -f -a kogaion-desktop -o https://raw.github.com/Rogentos/kogaion-desktop/master/overlay.xml"
+export local envkogaionbuildgit="cd /opt && git clone https://github.com/Rogentos/build.git"
+export local envkogaionportageconfig="ln -sf /opt/build/conf/intel/portage /etc/portage"
+export local envkogaionenvupdate="/usr/sbin/env-update && . /etc/profile"