summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-11-19 17:26:07 +0200
committerKhem Raj <raj.khem@gmail.com>2025-11-19 09:41:31 -0800
commite1903a0fe7c7aa4a38d054c4a9cf74802f8f462f (patch)
tree72f99a68a4af5c5bd889c9ac4bf7d4fd817f9de3 /meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb
parent3768d0cd10808f0921145bdcd476f6fedae6f22c (diff)
downloadmeta-openembedded-e1903a0fe7c7aa4a38d054c4a9cf74802f8f462f.tar.gz
libblockdev: Upgrade 3.2.1 -> 3.4.0
Upgrade to release 3.4.0: - bd_nvme_connect() now defaults to port 4420 or 8009 for discovery NQN respectively when - configure.ac: fix bashism - smart: Use drive self-assessment as an overall status - nvme: Default to well-known tr_svcid values when not specified - nvme: Handle memory allocation failures from _nvme_alloc() - crypto: Add a function to set persistent flags for LUKS - tests: Various minor mptovements Drop CVE-2025-6019.patch because the change has been merged in the upstream and it is included in version 3.4.0. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb')
-rw-r--r--meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb
new file mode 100644
index 0000000000..2263e0bbdd
--- /dev/null
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.4.0.bb
@@ -0,0 +1,40 @@
1DESCRIPTION = "libblockdev is a C library supporting GObject introspection for manipulation of \
2block devices. It has a plugin-based architecture where each technology (like \
3LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin, possibly \
4with multiple implementations (e.g. using LVM CLI or the new LVM DBus API)."
5HOMEPAGE = "http://rhinstaller.github.io/libblockdev/"
6LICENSE = "LGPL-2.0-or-later"
7SECTION = "devel/lib"
8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
10
11inherit autotools gobject-introspection pkgconfig lib_package
12
13DEPENDS = "autoconf-archive-native glib-2.0 kmod udev libnvme"
14
15SRC_URI = "git://github.com/storaged-project/libblockdev;branch=master;protocol=https \
16 file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \
17 "
18SRCREV = "c1053b3643f0b4f3d4549ac8f3ae85fdecbb2c72"
19
20FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
21
22PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools smart smartmontools"
23PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
24PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools libyaml, lvm2"
25PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools libyaml, lvm2"
26PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2"
27PACKAGECONFIG[parted] = "--with-part, --without-part, parted"
28PACKAGECONFIG[fs] = "--with-fs, --without-fs, e2fsprogs util-linux"
29PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
30PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux"
31PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key"
32PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools"
33PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup keyutils nss volume-key"
34PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize"
35PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2"
36PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper"
37PACKAGECONFIG[smart] = "--with-smart --with-drivedb=${RECIPE_SYSROOT}${datadir}/smartmontools,--without-smart,libatasmart smartmontools"
38PACKAGECONFIG[smartmontools] = "--with-smartmontools,--without-smartmontools,json-glib,smartmontools"
39
40export GIR_EXTRA_LIBS_PATH = "${B}/src/utils/.libs"