diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-08-30 09:15:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-08-30 09:15:08 +0100 |
commit | 34ba1e37e44f7b7af2f1243dc9dc75a6a9c6ecdb (patch) | |
tree | f5c7a663f9d7cc0b64313af4ffaac372904a5682 | |
parent | 2821833d2e292ba86d7a4da4a43453f503ff9569 (diff) |
move last variables into libvasile
-rwxr-xr-x | build32 | 4 | ||||
-rwxr-xr-x | build64 | 4 | ||||
-rwxr-xr-x | libvasile | 5 |
3 files changed, 6 insertions, 7 deletions
@@ -115,12 +115,10 @@ envkogaionoverlays() { envkogaionbuildsystem() { # inject our buildsystem into squashfs + overlayfs chroot - export local envkogaionmakeconf="ln -sf /opt/build/conf/intel/portage/make.conf.x86 /etc/portage/make.conf" - export local envkogaionprofile="eselect profile set 1" echo "Injecting Kogaion Linux i686 Buildsystem && Setting up Portage && Setting up make.conf" echo "" sleep 1 - for cmd in "$envkogaionbuildgit" "$envkogaionportageconfig" "$envkogaionmakeconf" "$envkogaionprofile" "$envkogaionenvupdate" ; do + for cmd in "$envkogaionbuildgit" "$envkogaionportageconfig" "$envkogaionmakeconfx86" "$envkogaionprofile" "$envkogaionenvupdate" ; do linux32 chroot "$overlaydir" su - "$envkogaionuser" -c "$cmd" done } @@ -117,12 +117,10 @@ envkogaionoverlays() { envkogaionbuildsystem() { # inject our buildsystem into squashfs + overlayfs chroot - export local envkogaionmakeconf="ln -sf /opt/build/conf/intel/portage/make.conf.amd64 /etc/portage/make.conf" - export local envkogaionprofile="eselect profile set 1" echo "Injecting Kogaion Linux X86_64 Buildsystem && Setting up Portage && Setting up make.conf" echo "" sleep 1 - for cmd in "$envkogaionbuildgit" "$envkogaionportageconfig" "$envkogaionmakeconf" "$envkogaionprofile" "$envkogaionenvupdate" ; do + for cmd in "$envkogaionbuildgit" "$envkogaionportageconfig" "$envkogaionmakeconfx64" "$envkogaionprofile" "$envkogaionenvupdate" ; do chroot "$overlaydir" su - "$envkogaionuser" -c "$cmd" done } @@ -16,11 +16,14 @@ export local envkogaiondesktopoverlay="layman -f -a kogaion-desktop -o https://r 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" +export local envkogaionprofile="eselect profile set 1" # env squashfs chroot variables export local sqfsrootx86="kogaiondevelx86.squashfs" export local sqfsrootx86md5=""$sqfsrootx86".md5" - export local sqfsrootx64="kogaiondevelx64.squashfs" export local sqfsrootx64md5=""$sqfsrootx64".md5" +# env make.conf variables +export local envkogaionmakeconfx86="ln -sf /opt/build/conf/intel/portage/make.conf.x86 /etc/portage/make.conf" +export local envkogaionmakeconfx64="ln -sf /opt/build/conf/intel/portage/make.conf.amd64 /etc/portage/make.conf" |