package/lvm2: enable device-mapper in Kernel config
LVM2 has a hard dependency on the device-mapper presence in the Kernel. This commit enables those mandatory Kernel configuration by defining the _LINUX_CONFIG_FIXUPS macro. This will make sure the final system image will end up in a working configuration. This was suggested by Arnout in [1]. [1] https://lists.buildroot.org/pipermail/buildroot/2024-April/688776.html Suggested-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d4237949d5
commit
419d39b261
@ -76,5 +76,10 @@ HOST_LVM2_CONF_OPTS = \
|
||||
--disable-selinux \
|
||||
--with-confdir=$(HOST_DIR)/etc
|
||||
|
||||
define LVM2_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MD)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_DM)
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user