Some extra features for convenience (#209)
* Enable setting modprobed-db database path This enables using different dbs and be able to build the kernel for others, with modprobed-db * Save generated .config file back to user's git folder, for eventual re-use * Set local version for all distros * install.sh: handle user provided .config files Update dosctring for the _configfile var in customization.cfg * install.sh: fix kernel version prompt broken newlines * Copy final config file as kernelconfig.new
This commit is contained in:
committed by
GitHub
parent
fde290233a
commit
b595006ffb
@@ -44,6 +44,9 @@ _noccache="false"
|
||||
# !!!! Make sure to have a well populated db !!!! - Leave empty to be asked about it at build time
|
||||
_modprobeddb="false"
|
||||
|
||||
# modprobed-db database file location
|
||||
_modprobeddb_db_path=~/.config/modprobed.db
|
||||
|
||||
# Set to "1" to call make menuconfig, "2" to call make nconfig, "3" to call make xconfig, before building the kernel. Set to false to disable and skip the prompt.
|
||||
_menunconfig=""
|
||||
|
||||
@@ -55,9 +58,17 @@ _diffconfig_name=""
|
||||
|
||||
#### KERNEL OPTIONS ####
|
||||
|
||||
# [Arch specific] Name of the default config file to use from the linux???-tkg-config folder.
|
||||
# Default is "config.x86_64" and Arch hardened is "config_hardened.x86_64".
|
||||
# To get a complete hardened setup, you have to use "cfs" as _cpusched
|
||||
# Name of the default config file to use for the kernel
|
||||
# Default (empty):
|
||||
# - Archlinux (PKGBUILD): "config.x86_64" from the linux-tkg-config/5.y folder.
|
||||
# - install.sh: Picks the .config file from the currently running kernel.
|
||||
# It is recommended to be running an official kernel before running this script, to pick off a correct .config file
|
||||
# User provided:
|
||||
# - Archlinux : use "config_hardened.x86_64" to get a hardened kernel. To get a complete hardened setup, you have to use "cfs" as _cpusched.
|
||||
# - Any : custom user provided file, the given path should be relative to the PKGBUILD file. This enables for example to use a user stripped down .config file.
|
||||
# If the .config file isn't up to date with the chosen kernel version, any extra CONFIG_XXXX is set to its default value.
|
||||
# Note: the script copies the resulting .config file as "kernelconfig.new" next to the PKGBUILD as a convenience for an eventual re-use. It gets overwritten at each run.
|
||||
# One can use "kernelconfig.new" here to always use the latest edited .config file. modprobed-db needs to be used only once for its changes to be picked up.
|
||||
_configfile=""
|
||||
|
||||
# Disable some non-module debugging - See PKGBUILD for the list
|
||||
|
Reference in New Issue
Block a user