diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-07-19 14:30:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-07-19 14:30:22 +0100 |
commit | 112ee985e9227d13b70969d52b51b23dd0c59524 (patch) | |
tree | 18be39fd9349c61917919944552168cec0979e8e | |
parent | bf550ac369ec31a74bbc9a0345967b7269a4f465 (diff) |
attempt to fix target installation
-rwxr-xr-x | vasile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -28,7 +28,6 @@ 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" @@ -211,12 +210,17 @@ envkogaioneit() { envkogaionbuild () { # build packages in squashfs + overlayfs chroot if [[ "$(uname -m)" = "x86_64" ]] ; then - chroot "$overlaydir" su - "$envkogaionuser" -c "$envkogaioninstalltarget" + for envkogaioninstalltarget in "$envkogaionkerneltarget" "$envkogaionmultimediatarget" "$envkogaionxlibstarget" "$envkogaionxorgtarget" "$envkogaionartworktarget" ; do + chroot "$overlaydir" su - "$envkogaionuser" -c "emerge -kav $envkogaioninstalltarget" + done 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" |