diff options
author | Ross Burton <ross@burtonini.com> | 2021-07-19 12:00:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-20 08:51:06 +0100 |
commit | c1107049a005ced89c82fc3aa19d170daeca6e62 (patch) | |
tree | 2b19f57f601888f64bec47f6409de1c289724ced /meta/recipes-extended/parted | |
parent | 3714bfb060ea57de4c57d510a4b6841b694066bd (diff) | |
download | poky-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.bb | 4 |
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 \ | |||
16 | SRC_URI[md5sum] = "357d19387c6e7bc4a8a90fe2d015fe80" | 16 | SRC_URI[md5sum] = "357d19387c6e7bc4a8a90fe2d015fe80" |
17 | SRC_URI[sha256sum] = "e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342" | 17 | SRC_URI[sha256sum] = "e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342" |
18 | 18 | ||
19 | EXTRA_OECONF = "--disable-device-mapper" | ||
20 | |||
21 | inherit autotools pkgconfig gettext texinfo ptest | 19 | inherit autotools pkgconfig gettext texinfo ptest |
22 | 20 | ||
23 | PACKAGECONFIG ?= "readline" | 21 | PACKAGECONFIG ?= "readline" |
22 | PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,libdevmapper lvm2" | ||
24 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | 23 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" |
25 | 24 | ||
26 | BBCLASSEXTEND = "native nativesdk" | 25 | BBCLASSEXTEND = "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 | |||
52 | RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs python3-core dosfstools" | 52 | RDEPENDS_${PN}-ptest = "bash coreutils perl util-linux-losetup util-linux-mkswap python3 make gawk e2fsprogs-mke2fs e2fsprogs-tune2fs python3-core dosfstools" |
53 | RRECOMMENDS_${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop kernel-module-vfat" | 53 | RRECOMMENDS_${PN}-ptest += "kernel-module-scsi-debug kernel-module-loop kernel-module-vfat" |
54 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | 54 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ |