mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 07:25:27 +00:00
libblockdev: cleanup/fix PACKAGECONFIG/dependencies
It only makes sense to rdepend on lvm2 if lvm is enabled by the configuration and the nss and volume-key dependencies are only needed if --with-escrow is configured. These dependencies are quite big so it's good to have a way to disable them. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d00b7bd416
commit
c41ed7f332
@ -12,8 +12,6 @@ inherit autotools python3native gobject-introspection
|
|||||||
|
|
||||||
DEPENDS += " \
|
DEPENDS += " \
|
||||||
cryptsetup \
|
cryptsetup \
|
||||||
nss \
|
|
||||||
volume-key \
|
|
||||||
libbytesize \
|
libbytesize \
|
||||||
btrfs-tools \
|
btrfs-tools \
|
||||||
"
|
"
|
||||||
@ -26,16 +24,12 @@ SRC_URI = " \
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
|
||||||
lvm2 \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
|
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "python3 lvm dm kmod parted fs"
|
PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow"
|
||||||
PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
|
PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
|
||||||
PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2"
|
PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2"
|
||||||
PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools"
|
PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2"
|
||||||
PACKAGECONFIG[dm] = "--with-dm, --without-dm"
|
PACKAGECONFIG[dm] = "--with-dm, --without-dm"
|
||||||
PACKAGECONFIG[dmraid] = "--with-dmraid, --without-dmraid"
|
PACKAGECONFIG[dmraid] = "--with-dmraid, --without-dmraid"
|
||||||
PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd, kmod"
|
PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd, kmod"
|
||||||
@ -44,6 +38,7 @@ PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux"
|
|||||||
PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
|
PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
|
||||||
PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm"
|
PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm"
|
||||||
PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo"
|
PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo"
|
||||||
|
PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key"
|
||||||
|
|
||||||
export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
|
export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user