custom kernel version

This commit is contained in:
illiliti 2020-02-11 23:30:20 +03:00
parent b99aae7474
commit b0ae8ec446
2 changed files with 4 additions and 1 deletions

3
config
View File

@ -5,6 +5,9 @@
# debug mode # debug mode
#debug=1 #debug=1
# custom kernel version
#kernel=""
# parse fstab # parse fstab
#use_fstab=0 #use_fstab=0

View File

@ -413,7 +413,7 @@ check_currentdir
# variables # variables
tmpdir="$(create_tmpdir)" || msg panic "failed to create working directory" tmpdir="$(create_tmpdir)" || msg panic "failed to create working directory"
kernel="$(uname -r)" kernel="${kernel:-$(uname -r)}"
moddir="/lib/modules" moddir="/lib/modules"
modker="${moddir}/${kernel}" modker="${moddir}/${kernel}"