summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-07-19 12:00:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-20 08:51:06 +0100
commitc1107049a005ced89c82fc3aa19d170daeca6e62 (patch)
tree2b19f57f601888f64bec47f6409de1c289724ced /meta/recipes-extended/parted
parent3714bfb060ea57de4c57d510a4b6841b694066bd (diff)
downloadpoky-c1107049a005ced89c82fc3aa19d170daeca6e62.tar.gz
parted: add device mappper PACKAGECONFIG
Instead of forcibly disabling the device mapper support, add a disabled PACKAGECONFIG. (From OE-Core rev: d3ec50f754184081ec768d654da74ec8cac22c5f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/parted')
-rw-r--r--meta/recipes-extended/parted/parted_3.4.bb4
1 files 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 \
16SRC_URI[md5sum] = "357d19387c6e7bc4a8a90fe2d015fe80" 16SRC_URI[md5sum] = "357d19387c6e7bc4a8a90fe2d015fe80"
17SRC_URI[sha256sum] = "e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342" 17SRC_URI[sha256sum] = "e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342"
18 18
19EXTRA_OECONF = "--disable-device-mapper"
20
21inherit autotools pkgconfig gettext texinfo ptest 19inherit autotools pkgconfig gettext texinfo ptest
22 20
23PACKAGECONFIG ?= "readline" 21PACKAGECONFIG ?= "readline"
22PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,libdevmapper lvm2"
24PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" 23PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
25 24
26BBCLASSEXTEND = "native nativesdk" 25BBCLASSEXTEND = "native nativesdk"
@@ -49,6 +48,7 @@ do_install_ptest() {
49 done 48 done
50 sed -e 's| ../parted||' -i $t/tests/*.sh 49 sed -e 's| ../parted||' -i $t/tests/*.sh
51} 50}
51
52RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs python3-core dosfstools" 52RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs python3-core dosfstools"
53RRECOMMENDS_${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop kernel-module-vfat" 53RRECOMMENDS_${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop kernel-module-vfat"
54RDEPENDS_${PN}-ptest_append_libc-glibc = "\ 54RDEPENDS_${PN}-ptest_append_libc-glibc = "\