From 933e9a58ef4547da811da863739eb7ecd5d6b3cc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 6 Feb 2024 16:05:40 +0800 Subject: libblockdev: upgrade 3.0.4 -> 3.1.0 Changelog: ============== - tests: Default to /tmp for create_sparse_tempfile() - tests: Avoid setting up intermediary loop device for the nvme target - tests: Remove unreliable nvme attribute checks - lvm-dbus: Fix leaking error - lvm-dbus: Avoid using already-freed memory - utils: Add expected printf string annotation - fs: Report reason for open() and ioctl() failures - ci: Add an action to compile libblockdev with different compilers - Sync spec with downstream - Add BDPluginSpec constructor and use it in plugin_specs_from_names - overrides: Remove unused 'sys' import - ci: Manually prepare spec file for Packit - ci: Remove the custom version command for Packit - swap: Add support for checking label and UUID format - fs: Add a function to check label format for F2FS - fs: Add a generic function to check for fs info availability - fs: Fix allowed UUID for generic mkfs with VFAT - fs: Add support for getting filesystem min size for NTFS and Ext - tests: Remove some obsolete rules to skip tests - Mark NVDIMM plugin as deprecated since 3.1 - part: Fix potential double free when getting parttype - tests: Use BDPluginSpec constructor in LVM DBus plugin tests - python: Add a deepcopy function to our structs - Fix missing progress initialization in bd_crypto_luks_add_key - tests: Skip some checks for btrfs errors with btrfs-progs 6.6.3 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../libblockdev/libblockdev_3.0.4.bb | 39 ---------------------- .../libblockdev/libblockdev_3.1.0.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta-oe/recipes-extended/libblockdev/libblockdev_3.0.4.bb create mode 100644 meta-oe/recipes-extended/libblockdev/libblockdev_3.1.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.0.4.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.0.4.bb deleted file mode 100644 index d6ee103bb3..0000000000 --- a/meta-oe/recipes-extended/libblockdev/libblockdev_3.0.4.bb +++ /dev/null @@ -1,39 +0,0 @@ -DESCRIPTION = "libblockdev is a C library supporting GObject introspection for manipulation of \ -block devices. It has a plugin-based architecture where each technology (like \ -LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin, possibly \ -with multiple implementations (e.g. using LVM CLI or the new LVM DBus API)." -HOMEPAGE = "http://rhinstaller.github.io/libblockdev/" -LICENSE = "LGPL-2.0-or-later" -SECTION = "devel/lib" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" - -inherit autotools gobject-introspection pkgconfig lib_package - -DEPENDS = "autoconf-archive-native glib-2.0 kmod udev libnvme" - -SRC_URI = "git://github.com/storaged-project/libblockdev;branch=master;protocol=https \ - file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \ - " -SRCREV = "ec0120de06f28ecfc10953b712f7f42735787bcf" -S = "${WORKDIR}/git" - -FILES:${PN} += "${libdir}/python3.*/site-packages" - -PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" -PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" -PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2" -PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2" -PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2" -PACKAGECONFIG[parted] = "--with-part, --without-part, parted" -PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux" -PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" -PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux" -PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key" -PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools" -PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-key" -PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" -PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2" -PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper" - -export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.0.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.0.bb new file mode 100644 index 0000000000..60182d84eb --- /dev/null +++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.0.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "libblockdev is a C library supporting GObject introspection for manipulation of \ +block devices. It has a plugin-based architecture where each technology (like \ +LVM, Btrfs, MD RAID, Swap,...) is implemented in a separate plugin, possibly \ +with multiple implementations (e.g. using LVM CLI or the new LVM DBus API)." +HOMEPAGE = "http://rhinstaller.github.io/libblockdev/" +LICENSE = "LGPL-2.0-or-later" +SECTION = "devel/lib" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" + +inherit autotools gobject-introspection pkgconfig lib_package + +DEPENDS = "autoconf-archive-native glib-2.0 kmod udev libnvme" + +SRC_URI = "git://github.com/storaged-project/libblockdev;branch=master;protocol=https \ + file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \ + " +SRCREV = "65f50bf912374b85d673f2716ea0c8306980c95b" +S = "${WORKDIR}/git" + +FILES:${PN} += "${libdir}/python3.*/site-packages" + +PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" +PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" +PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2" +PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2" +PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2" +PACKAGECONFIG[parted] = "--with-part, --without-part, parted" +PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux" +PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" +PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux" +PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key" +PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools" +PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-key" +PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" +PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2" +PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper" + +export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" -- cgit v1.2.3-54-g00ecf