summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-12 05:45:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-12 05:45:47 +0000
commitfb6a183dd6bce7378aeb2fc5e08aadb5a37d1bfc (patch)
treef12e413350ee36116c628583b6ef7d4430d8919c
parentb658ce555de7398b1c662be4e7acd1544282820f (diff)
drop kernel version hardcode, get it from runtime...and with this we can trick vasile to use whatever kernel we want, by just pointing the symlink to something else
-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 39dfcf8..7752a0a 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="4.14.12-"$distname"-lts"
+export local kernver="$(readlink /usr/src/linux)"
export local jailx64=""$distname"_"$distver"_core_x64.squashfs"
export local jailx64sum=""$jailx64".md5sum"