source 'customization.cfg' earlier in 'install.sh' (#109)
source 'customization.cfg' before '_tkg_initscript' is run in 'install.sh'. Otherwise some variables set in 'customization.cfg' are empty when '_tkg_initscript' is run and have to be supplied again on the prompt.
This commit is contained in:
parent
bd9f402d96
commit
9ac7fd64e1
@ -22,6 +22,8 @@ set -e
|
||||
_where=`pwd`
|
||||
srcdir="$_where"
|
||||
|
||||
source customization.cfg
|
||||
|
||||
source linux-tkg-config/prepare
|
||||
|
||||
# Run init script that is also run in PKGBUILD, it will define some env vars that we will use
|
||||
@ -52,8 +54,6 @@ esac
|
||||
|
||||
_cpu_opt_patch_link="https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v${opt_ver}.patch"
|
||||
|
||||
source customization.cfg
|
||||
|
||||
if [ "$1" != "install" ] && [ "$1" != "config" ] && [ "$1" != "uninstall-help" ]; then
|
||||
msg2 "Argument not recognised, options are:
|
||||
- config : shallow clones the linux ${_basekernel}.x git tree into the folder linux-${_basekernel}, then applies on it the extra patches and prepares the .config file
|
||||
|
Loading…
x
Reference in New Issue
Block a user