linux-tkg: Set CONFIG_DEBUG_INFO=n by default on non-Arch
Debian-based distros notably create huge dbg packages otherwise
This commit is contained in:
@@ -241,6 +241,10 @@ _tkg_srcprep() {
|
||||
sed -i -e 's/CONFIG_GCC_PLUGINS=y/# CONFIG_GCC_PLUGINS is not set/' ./.config
|
||||
fi
|
||||
fi
|
||||
# Skip dbg package creation on non-Arch
|
||||
if [ "$_distro" != "Arch" ]; then
|
||||
sed -i -e 's/CONFIG_DEBUG_INFO.*/CONFIG_DEBUG_INFO=n/' ./.config
|
||||
fi
|
||||
|
||||
if [ "$_font_autoselect" != "false" ]; then
|
||||
sed -i -e 's/CONFIG_FONT_TER16x32=y/# CONFIG_FONT_TER16x32 is not set\nCONFIG_FONT_AUTOSELECT=y/' ./.config
|
||||
|
Reference in New Issue
Block a user