From 117b1edbe756a21f74bd2bb23c79e24c3e2df7dd Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Thu, 14 Jan 2021 16:57:39 +0100 Subject: [PATCH] Set CONFIG_EXPERT in prepare to preserve Arch's defconfig. Fix for/Follow-up to https://github.com/Frogging-Family/linux-tkg/pull/153 --- linux-tkg-config/5.10/config.x86_64 | 2 +- linux-tkg-config/prepare | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-tkg-config/5.10/config.x86_64 b/linux-tkg-config/5.10/config.x86_64 index ceb2a9c..70c17a5 100644 --- a/linux-tkg-config/5.10/config.x86_64 +++ b/linux-tkg-config/5.10/config.x86_64 @@ -223,7 +223,7 @@ CONFIG_HAVE_UID16=y CONFIG_SYSCTL_EXCEPTION_TRACE=y CONFIG_HAVE_PCSPKR_PLATFORM=y CONFIG_BPF=y -CONFIG_EXPERT=y +# CONFIG_EXPERT is not set CONFIG_UID16=y CONFIG_MULTIUSER=y CONFIG_SGETMASK_SYSCALL=y diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 23c807f..ccf0e0d 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -490,6 +490,7 @@ _tkg_srcprep() { sed -i -e 's/# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set/CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4=y/' ./.config sed -i -e 's/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo"/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lz4"/' ./.config sed -i -e 's/# CONFIG_CMDLINE_BOOL is not set/CONFIG_CMDLINE_BOOL=y/' ./.config + sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config echo "CONFIG_CMDLINE=\"${_custom_commandline}\"" >> ./.config echo "# CONFIG_CMDLINE_OVERRIDE is not set" >> ./.config echo "# CONFIG_X86_P6_NOP is not set" >> ./.config