Debuntu: Move MODULE_COMPRESS switches next to the cert tweak.
No reason to have them after fragments handling.
This commit is contained in:
@@ -946,6 +946,9 @@ _tkg_srcprep() {
|
||||
if [[ "$_distro" = "Debian" || "$_distro" = "Ubuntu" ]]; then
|
||||
#Help Debian cert compile problem.
|
||||
scripts/config --set-str "SYSTEM_TRUSTED_KEYS" ""
|
||||
#Debian/Ubuntu don't properly support zstd module compression
|
||||
_disable "MODULE_COMPRESS_ZSTD"
|
||||
_enable "MODULE_COMPRESS_NONE"
|
||||
fi
|
||||
# Skip dbg package creation on non-Arch
|
||||
if [ "$_distro" != "Arch" ]; then
|
||||
@@ -1717,14 +1720,6 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
|
||||
fi
|
||||
fi
|
||||
|
||||
# Distro specific workarounds in the .config file, when using Arch config file by default
|
||||
if [ -z "$_configfile" ] || [ "$_configfile" = "config_hardened.x86_64" ]; then
|
||||
if [[ "$_distro" =~ ^(Debian|Ubuntu)$ ]]; then
|
||||
_disable "MODULE_COMPRESS_ZSTD"
|
||||
_enable "MODULE_COMPRESS_NONE"
|
||||
fi
|
||||
fi
|
||||
|
||||
# rewrite configuration
|
||||
msg2 "Setting config"
|
||||
make ${_config_updating} ${llvm_opt} |& tee -a "$_where"/logs/prepare.log.txt
|
||||
|
Reference in New Issue
Block a user