mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
3714bfb060
commit
c1107049a0
|
|
@ -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 = "\
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user