summaryrefslogtreecommitdiff
path: root/build32
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 /build32
parent3a6e918d46840289227e58a5ac1850113fcd2400 (diff)
move some common variables to libvasile, common functions will follow
Diffstat (limited to 'build32')
-rwxr-xr-xbuild3219
1 files changed, 1 insertions, 18 deletions
diff --git a/build32 b/build32
index e80b736..5ee8e5b 100755
--- a/build32
+++ b/build32
@@ -1,23 +1,6 @@
#!/usr/bin/env bash
-# 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"
+source libvasile
envkogaionstart () {
# mount ro squashfs chroot + add rw overlayfs layer to enable clean package building