From 3d86fb084d33116ad029b088f8c5a740d6e7742c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Jan 2018 14:52:57 +0000 Subject: improve kernel detection --- src/backend/v_jail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3