summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/v_jail.sh2
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"