diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-12-11 17:31:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-12-11 17:31:42 +0000 |
commit | 4df9d6f5ba415e00d9ccabae3698fd947bb8e69f (patch) | |
tree | b04cbd3f50103606de02ba64dde36e9b9dd09f1b | |
parent | e1b8c5f0aa6afe32b1dd3ff5206306d1eaca77bd (diff) |
further steps to remove all hardcoded paths
-rwxr-xr-x | libvasile | 8 | ||||
-rwxr-xr-x | vasile | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -124,10 +124,10 @@ chrootstartx64 () { chrootoverlaysx64 () { echo "Injecting Kogaion Linux Main Overlay into x64 environment" sleep 1 - chroot "$overlaydir" su - "$chrootuser" -c "$chrootoverlay" + chroot "$overlaydir" su - "$chrootuser" -c "$chrootmainoverlay" echo "Injecting Kogaion Linux Desktop Overlay into x64 environment" sleep 1 - chroot "$overlaydir" su - "$chrootuser" -c "$chrootdesktopoverlay" + chroot "$overlaydir" su - "$chrootuser" -c "$chrootaddonoverlay" } chrootbuildsystemx64 () { @@ -206,10 +206,10 @@ chrootstartx86 () { chrootoverlaysx86 () { echo "Injecting Kogaion Linux Main Overlay into x86 environment" sleep 1 - linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chrootoverlay" + linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chrootmainoverlay" echo "Injecting Kogaion Linux Desktop Overlay into x86 environment" sleep 1 - linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chrootdesktopoverlay" + linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chrootaddonoverlay" } chrootbuildsystemx86 () { @@ -18,8 +18,8 @@ export local overlaydir="overlaydir" export local chrootuser="root" export local chroottarget="${@:2}" export local chrootbuildtarget="emerge -kav "$chroottarget"" -export local chrootoverlay="layman -f -a "$releasename" -o https://gitlab.com/"$releasename"/"$releasename"-main/raw/master/overlay.xml" -export local chrootdesktopoverlay="layman -f -a "$releasename"-desktop -o https://gitlab.com/"$releasename"/"$releasename"-desktop/raw/master/overlay.xml" +export local chrootmainoverlay="layman -f -a "$releasename" -o https://gitlab.com/"$releasename"/"$releasename"-main/raw/master/overlay.xml" +export local chrootaddonoverlay="layman -f -a "$releasename"-desktop -o https://gitlab.com/"$releasename"/"$releasename"-desktop/raw/master/overlay.xml" export local chrootbuildgit="cd /opt && git clone https://gitlab.com/"$releasename"/"$releasename"-build.git" export local chrootportageconfig="ln -sf /opt/"$releasename"-build/conf/intel/portage /etc/portage" export local chrootenvupdate="/usr/sbin/env-update && . /etc/profile" |