summaryrefslogtreecommitdiff
path: root/libvasile
diff options
context:
space:
mode:
Diffstat (limited to 'libvasile')
-rwxr-xr-xlibvasile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvasile b/libvasile
index 576f2a0..07fb409 100755
--- a/libvasile
+++ b/libvasile
@@ -12,6 +12,7 @@ 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"
kernelconfig () {
if [[ $(zgrep 'CONFIG_OVERLAY_FS=' /proc/config.gz) && $(zgrep "CONFIG_SQUASHFS=" /proc/config.gz) && $(zgrep "CONFIG_BLK_DEV_LOOP=" /proc/config.gz) ]] ; then
@@ -51,7 +52,7 @@ chrootstop () {
}
# x64 specific code
-export local chrootx64="kogaion_3_core_x64.squashfs"
+export local chrootx64=""$releasename"_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"
@@ -160,7 +161,7 @@ chrootx64 () {
}
# x86 specific code
-export local chrootx86="kogaion_3_core_x86.squashfs"
+export local chrootx86=""$releasename"_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"