From: Michael Tremer Date: Thu, 15 Dec 2022 17:35:29 +0000 (+0000) Subject: kernel: Disable all sorts of useless Device Mapper targets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fe31a44d07d8705ca7713c449ccbb3dbb9684a0;p=ipfire-3.x.git kernel: Disable all sorts of useless Device Mapper targets This patch also compiles all sorts of device mapper stuff as modules. Signed-off-by: Michael Tremer --- diff --git a/kernel/config-generic b/kernel/config-generic index 1d7d65395..b626e9550 100644 --- a/kernel/config-generic +++ b/kernel/config-generic @@ -1880,46 +1880,39 @@ CONFIG_MD_RAID0=m CONFIG_MD_RAID1=m CONFIG_MD_RAID10=m CONFIG_MD_RAID456=m -CONFIG_MD_MULTIPATH=m -CONFIG_MD_FAULTY=m +# CONFIG_MD_MULTIPATH is not set +# CONFIG_MD_FAULTY is not set # CONFIG_BCACHE is not set CONFIG_BLK_DEV_DM_BUILTIN=y -CONFIG_BLK_DEV_DM=y +CONFIG_BLK_DEV_DM=m # CONFIG_DM_DEBUG is not set -CONFIG_DM_BUFIO=y +CONFIG_DM_BUFIO=m # CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set CONFIG_DM_BIO_PRISON=m CONFIG_DM_PERSISTENT_DATA=m -# CONFIG_DM_UNSTRIPED is not set +CONFIG_DM_UNSTRIPED=m CONFIG_DM_CRYPT=m -CONFIG_DM_SNAPSHOT=y +CONFIG_DM_SNAPSHOT=m CONFIG_DM_THIN_PROVISIONING=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m CONFIG_DM_WRITECACHE=m # CONFIG_DM_EBS is not set -CONFIG_DM_ERA=m +# CONFIG_DM_ERA is not set # CONFIG_DM_CLONE is not set -CONFIG_DM_MIRROR=y +CONFIG_DM_MIRROR=m CONFIG_DM_LOG_USERSPACE=m CONFIG_DM_RAID=m -CONFIG_DM_ZERO=y -CONFIG_DM_MULTIPATH=m -CONFIG_DM_MULTIPATH_QL=m -CONFIG_DM_MULTIPATH_ST=m -# CONFIG_DM_MULTIPATH_HST is not set -# CONFIG_DM_MULTIPATH_IOA is not set +CONFIG_DM_ZERO=m +# CONFIG_DM_MULTIPATH is not set # CONFIG_DM_DELAY is not set # CONFIG_DM_DUST is not set -# CONFIG_DM_INIT is not set CONFIG_DM_UEVENT=y # CONFIG_DM_FLAKEY is not set -CONFIG_DM_VERITY=m -# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set -CONFIG_DM_VERITY_FEC=y -CONFIG_DM_SWITCH=m +# CONFIG_DM_VERITY is not set +# CONFIG_DM_SWITCH is not set # CONFIG_DM_LOG_WRITES is not set -CONFIG_DM_INTEGRITY=m +# CONFIG_DM_INTEGRITY is not set # CONFIG_TARGET_CORE is not set # CONFIG_FUSION is not set @@ -6531,7 +6524,6 @@ CONFIG_DECOMPRESS_LZ4=y CONFIG_DECOMPRESS_ZSTD=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_REED_SOLOMON=m -CONFIG_REED_SOLOMON_DEC8=y CONFIG_REED_SOLOMON_ENC16=y CONFIG_REED_SOLOMON_DEC16=y CONFIG_TEXTSEARCH=y diff --git a/kernel/kernel.nm b/kernel/kernel.nm index dca5e75e5..b8fbce1b9 100644 --- a/kernel/kernel.nm +++ b/kernel/kernel.nm @@ -5,7 +5,7 @@ name = kernel version = 6.0.6 -release = 0.58 +release = 0.59 thisapp = linux-%{version} maintainer = Arne Fitzenreiter