diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-12-11 17:11:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-12-11 17:11:41 +0000 |
commit | e1b8c5f0aa6afe32b1dd3ff5206306d1eaca77bd (patch) | |
tree | 92f579997f57352271d79f5083c50a6607a4d6d6 /libvasile | |
parent | 8dbb27e194db5af5e80887c3e3577d7715f58b78 (diff) |
it's time to remove hardcoded paths
Diffstat (limited to 'libvasile')
-rwxr-xr-x | libvasile | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -1,27 +1,3 @@ -# generic variables -export local releasename="kogaion" -export local releaseversion="3" - -# arch independent build variables - -export local rodir="rodir" -export local rwdir="rwdir" -export local workdir="workdir" # only needed for overlayfs on kernel greather than 3.18 -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 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" -export local chrootprofile="eselect profile set 1" - -# arch independent iso variables - -export local kernelver="3.14.0-"$releasename"" - # generic arch independent functions (used for both build && iso creation) kernelconfig () { @@ -107,12 +83,6 @@ chrootstop () { umount -l "$rodir" > /dev/null 2>&1 } -# x64 specific build variables - -export local chrootx64=""$releasename"_"$releaseversion"_core_x64.squashfs" -export local chrootx64md5=""$chrootx64".md5" -export local chrootmakeconfx64="ln -sf /opt/kogaion-build/conf/intel/portage/make.conf.amd64 /etc/portage/make.conf" - # x64 specific build functions chrootstartx64 () { @@ -195,12 +165,6 @@ chrootx64 () { chroot "$overlaydir" su - "$chrootuser" } -# x86 specific build variables - -export local chrootx86=""$releasename"_"$releaseversion"_core_x86.squashfs" -export local chrootx86md5=""$chrootx86".md5" -export local chrootmakeconfx86="ln -sf /opt/kogaion-build/conf/intel/portage/make.conf.x86 /etc/portage/make.conf" - # x86 specific build functions chrootstartx86 () { |