diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-28 14:52:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-28 14:52:57 +0000 |
commit | 3d86fb084d33116ad029b088f8c5a740d6e7742c (patch) | |
tree | 904343b729edc08ab56cbff36dc04b485bb951d1 | |
parent | a5b23385454e8a7e8730bb8a0936d0eb7bbf3cc7 (diff) |
improve kernel detection
-rw-r--r-- | src/backend/v_jail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/v_jail.sh b/src/backend/v_jail.sh index 7752a0a..83fcdaf 100644 --- a/src/backend/v_jail.sh +++ b/src/backend/v_jail.sh @@ -4,7 +4,7 @@ export local distupstream="gentoo" export local distname="redcore" export local disttarget="desktop" export local distver="1" -export local kernver="$(readlink /usr/src/linux)" +export local kernver="$(readlink /usr/src/linux|sed -e "s/\linux-//g" -e "s/\///g")" export local jailx64=""$distname"_"$distver"_core_x64.squashfs" export local jailx64sum=""$jailx64".md5sum" |