Fix boot issues in Ubuntu (and potentially Debian) (#330)

Closes: #327
Closes: #322

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
This commit is contained in:
Adel Kara Slimane
2021-10-04 22:13:33 +02:00
committed by GitHub
parent e2b5820b26
commit e5b2f7f3bd

View File

@@ -1302,6 +1302,14 @@ 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
# set _menuconfig early for Void
if [ "$_distro" = "Void" ]; then
_menuconfig="Void"