From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH 13/21] linux: Disable all sorts of useless Device Mapper targets Date: Mon, 26 Dec 2022 19:28:51 +0000 Message-ID: <01ce4218-d617-8a52-6a55-75d2d3de1eaa@ipfire.org> In-Reply-To: <0e60a1de-6210-835e-54a4-ec5e3128e42e@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4353028331594003184==" List-Id: --===============4353028331594003184== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This patch also compiles all sorts of device mapper stuff as modules. Backported from IPFire 3.x as 6fe31a44d07d8705ca7713c449ccbb3dbb9684a0. Signed-off-by: Peter M=C3=BCller --- config/kernel/kernel.config.x86_64-ipfire | 29 +++++++++-------------- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel= .config.x86_64-ipfire index 9d3541cfe..a3f97641a 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -2287,22 +2287,22 @@ CONFIG_MD_RAID0=3Dm CONFIG_MD_RAID1=3Dm CONFIG_MD_RAID10=3Dm CONFIG_MD_RAID456=3Dm -CONFIG_MD_MULTIPATH=3Dm -CONFIG_MD_FAULTY=3Dm +# CONFIG_MD_MULTIPATH is not set +# CONFIG_MD_FAULTY is not set CONFIG_BCACHE=3Dm # CONFIG_BCACHE_DEBUG is not set # CONFIG_BCACHE_CLOSURES_DEBUG is not set # CONFIG_BCACHE_ASYNC_REGISTRATION is not set CONFIG_BLK_DEV_DM_BUILTIN=3Dy -CONFIG_BLK_DEV_DM=3Dy +CONFIG_BLK_DEV_DM=3Dm # CONFIG_DM_DEBUG is not set -CONFIG_DM_BUFIO=3Dy +CONFIG_DM_BUFIO=3Dm # CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set CONFIG_DM_BIO_PRISON=3Dm CONFIG_DM_PERSISTENT_DATA=3Dm CONFIG_DM_UNSTRIPED=3Dm CONFIG_DM_CRYPT=3Dm -CONFIG_DM_SNAPSHOT=3Dy +CONFIG_DM_SNAPSHOT=3Dm # CONFIG_DM_THIN_PROVISIONING is not set CONFIG_DM_CACHE=3Dm CONFIG_DM_CACHE_SMQ=3Dm @@ -2310,26 +2310,19 @@ CONFIG_DM_WRITECACHE=3Dm # CONFIG_DM_EBS is not set # CONFIG_DM_ERA is not set # CONFIG_DM_CLONE is not set -CONFIG_DM_MIRROR=3Dy +CONFIG_DM_MIRROR=3Dm CONFIG_DM_LOG_USERSPACE=3Dm CONFIG_DM_RAID=3Dm -CONFIG_DM_ZERO=3Dy -CONFIG_DM_MULTIPATH=3Dm -CONFIG_DM_MULTIPATH_QL=3Dm -CONFIG_DM_MULTIPATH_ST=3Dm -CONFIG_DM_MULTIPATH_HST=3Dm -CONFIG_DM_MULTIPATH_IOA=3Dm +CONFIG_DM_ZERO=3Dm +# 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=3Dy # CONFIG_DM_FLAKEY is not set -CONFIG_DM_VERITY=3Dm -# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set -# CONFIG_DM_VERITY_FEC is not set -CONFIG_DM_SWITCH=3Dm +# CONFIG_DM_VERITY is not set +# CONFIG_DM_SWITCH is not set CONFIG_DM_LOG_WRITES=3Dm -CONFIG_DM_INTEGRITY=3Dm +# CONFIG_DM_INTEGRITY is not set CONFIG_DM_ZONED=3Dm # CONFIG_TARGET_CORE is not set CONFIG_FUSION=3Dy --=20 2.35.3 --===============4353028331594003184==--