diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 13:24:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 13:24:20 +0000 |
commit | fffd02bdf5a3613e0835fa7def17b1d9b2d8a8ec (patch) | |
tree | 6bc503a95c8bb0801bb417c7eb6c30c78fefdabb /libvasile | |
parent | bccf619f40434d77b67ebc03af87884d4c195f7e (diff) |
better handling of hardcoded paths, just change releasename and releaseversion to match your squashed core
Diffstat (limited to 'libvasile')
-rwxr-xr-x | libvasile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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" |