From e1b8c5f0aa6afe32b1dd3ff5206306d1eaca77bd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 11 Dec 2015 17:11:41 +0000 Subject: it's time to remove hardcoded paths --- libvasile | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'libvasile') diff --git a/libvasile b/libvasile index 4515f63..655eda7 100755 --- a/libvasile +++ b/libvasile @@ -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 () { -- cgit v1.2.3