summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvasile8
1 files changed, 2 insertions, 6 deletions
diff --git a/vasile b/vasile
index 183a9e4..f437436 100755
--- a/vasile
+++ b/vasile
@@ -28,6 +28,7 @@ export local envmultimediatarget="$(< multimedia.target)"
export local envartworktarget="$(< artwork.target)"
export local envxlibstarget="$(< xlibs.target)"
export local envxorgtarget="$(< xorg.target)"
+export local envkogaioninstalltarget="emerge -kav "$envkerneltarget" "$envmultimediatarget" "$envartworktarget" "$envxlibstarget" "$envxorgtarget""
# env buildsystem variables
export local envkogaionoverlay="layman -f -a kogaion -o https://raw.github.com/Rogentos/kogaion/master/overlay.xml"
@@ -210,17 +211,12 @@ envkogaioneit() {
envkogaionbuild () {
# build packages in squashfs + overlayfs chroot
if [[ "$(uname -m)" = "x86_64" ]] ; then
- for envkogaioninstalltarget in "$envkogaionkerneltarget" "$envkogaionmultimediatarget" "$envkogaionxlibstarget" "$envkogaionxorgtarget" "$envkogaionartworktarget" ; do
- chroot "$overlaydir" su - "$envkogaionuser" -c "emerge -kav $envkogaioninstalltarget"
- done
+ chroot "$overlaydir" su - "$envkogaionuser" -c "$envkogaioninstalltarget"
echo ""
echo "x86_46 Environment is UP && RUNNING ... building targets"
sleep 1
chroot "$overlaydir" su - "$envkogaionuser" -c "$envkogaionbuildtarget"
elif [[ "$(uname -m)" = "i686" ]] ; then
- for envkogaioninstalltarget in "$envkogaionkerneltarget" "$envkogaionmultimediatarget" "$envkogaionxlibstarget" "$envkogaionxorgtarget" "$envkogaionartworktarget" ; do
- linux32 chroot "$overlaydir" su - "$envkogaionuser" -c "emerge -kav $envkogaioninstalltarget"
- done
linux32 chroot "$overlaydir" su - "$envkogaionuser" -c "$envkogaioninstalltarget"
echo ""
echo "i686 Environment is UP && RUNNING ... building targets"