From d3ec50f754184081ec768d654da74ec8cac22c5f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 19 Jul 2021 12:00:57 +0100 Subject: parted: add device mappper PACKAGECONFIG Instead of forcibly disabling the device mapper support, add a disabled PACKAGECONFIG. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-extended/parted/parted_3.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/parted/parted_3.4.bb b/meta/recipes-extended/parted/parted_3.4.bb index d805f31ceb..d9b3ffb852 100644 --- a/meta/recipes-extended/parted/parted_3.4.bb +++ b/meta/recipes-extended/parted/parted_3.4.bb @@ -16,11 +16,10 @@ SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ SRC_URI[md5sum] = "357d19387c6e7bc4a8a90fe2d015fe80" SRC_URI[sha256sum] = "e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342" -EXTRA_OECONF = "--disable-device-mapper" - inherit autotools pkgconfig gettext texinfo ptest PACKAGECONFIG ?= "readline" +PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,libdevmapper lvm2" PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" BBCLASSEXTEND = "native nativesdk" @@ -49,6 +48,7 @@ do_install_ptest() { done sed -e 's| ../parted||' -i $t/tests/*.sh } + RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs python3-core dosfstools" RRECOMMENDS_${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop kernel-module-vfat" RDEPENDS_${PN}-ptest_append_libc-glibc = "\ -- cgit 1.2.3-korg