summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile7
1 files changed, 4 insertions, 3 deletions
diff --git a/libvasile b/libvasile
index 07fb409..bf6696a 100755
--- a/libvasile
+++ b/libvasile
@@ -12,7 +12,8 @@ export local chrootbuildgit="cd /opt && git clone https://gitlab.com/kogaion/kog
export local chrootportageconfig="ln -sf /opt/kogaion-build/conf/intel/portage /etc/portage"
export local chrootenvupdate="/usr/sbin/env-update && . /etc/profile"
export local chrootprofile="eselect profile set 1"
-export local releasename="kogaion_3"
+export local releasename="kogaion"
+export local releaseversion="3"
kernelconfig () {
if [[ $(zgrep 'CONFIG_OVERLAY_FS=' /proc/config.gz) && $(zgrep "CONFIG_SQUASHFS=" /proc/config.gz) && $(zgrep "CONFIG_BLK_DEV_LOOP=" /proc/config.gz) ]] ; then
@@ -52,7 +53,7 @@ chrootstop () {
}
# x64 specific code
-export local chrootx64=""$releasename"_core_x64.squashfs"
+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"
@@ -161,7 +162,7 @@ chrootx64 () {
}
# x86 specific code
-export local chrootx86=""$releasename"_core_x86.squashfs"
+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"