summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libblockdev
Commit message (Collapse)AuthorAgeFilesLines
* libblockdev: upgrade 2.27 -> 2.28wangmy2022-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Fix typos lvm: Fix bd_lvm_get_supported_pe_sizes in Python on 32bit tests: Create bigger devices for XFS tests tests: Use ext instead of xfs in MountTestCase.test_mount_ro_device mpath: Memory leak fix spec: Require the same version utils from plugins mdraid: Try harder to get container UUID in bd_md_detail Add a test case for DDF arrays/containers mdraid: Do not ignore errors from bd_md_canonicalize_uuid in bd_md_examine mdraid: Try harder to get container UUID in bd_md_examine mdraid: Fix copy-paste error when checking return value tests: Wait for raid and mirrored LVs to be synced before removing tests: Make smaller images for test_lvcreate_type dm: Fix comparing DM RAID member devices UUID mdraid: Fix use after free ci: Add .lgtm.yaml config for LGTM ci: Add GitHub actions for running rpmbuilds and csmock mpath: Fix potential NULL pointer dereference Fix mismatched functions return value type Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: upgrade 2.26 -> 2.27Wang Mingyu2022-09-052-102/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-lvm-Do-not-include-duplicate-entries-in-bd_lvm_lvs-o.patch removed since it's included in 2.27 Changelog: ========= fs: Return BD_FS_ERROR_UNKNOWN_FS on mounting unknown filesystem overrides: Fix translating exceptions in ErrorProxy tests: Do not check that swap flag is not supported on DOS table tests: Lower expected free space on newly created Ext filesystems tests: Remove test for NTFS read-only mounting vdo_stats: Default to 100 % savings for invalid savings values lvm: Fix reading statistics for VDO pools with VDO 8 tests: Fix creating loop device for CryptoTestLuksSectorSize tests: Use losetup to create 4k sector size loop device for testing s390: Remove double fclose in bd_s390_dasd_online (#2045784) lvm-dbus: Add support for changing compression and deduplication tests: Skip test_lvcreate_type on CentOS/RHEL 9 tests: Fix expected extended partition flags with new parted lvm: Do not set global config to and empty string lvm: Do not include duplicate entries in bd_lvm_lvs output lvm: Use correct integer type in for comparison crypto: Remove useless comparison in progress report in luks_format boilerplate_generator: Remove unused variable assignment kbd: Add missing progress reporting to bd_kbd_bcache_create kbd: Fix leaking error in bd_kbd_bcache_detach kbd: Fix potential NULL pointer dereference in bd_kbd_bcache_create crypto: Remove unused and leaking error in write_escrow_data_file Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: Do not include duplicate entries in bd_lvm_lvs outputHongxu Jia2021-12-092-1/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use "-o segtypes" for the "lvs" command which means multisegment LVs will be twice in the output. [1] ... $ lvs --noheadings --nosuffix --nameprefixes --unquoted --units=b -a -o vg_name,lv_name,lv_uuid,lv_size,lv_attr,segtype,origin,pool_lv,data_lv,metadata_lv,role,move_pv,data_percent,metadata_percent,copy_percent,lv_tags OUTPUT: |LVM2_VG_NAME=rootvg LVM2_LV_NAME=RCSMW-ARM_CXP2020233_2_R20A154 LVM2_LV_UUID=TgjM5V-jhXX-tPTf-gPMa-c3w6-QEjo-7qkmVg LVM2_LV_SIZE=71303168 LVM2_LV_ATTR=wi-ao--- LVM2_SEGTYPE=linear LVM2_ORIGIN= LVM2_POOL_LV= LVM2_DATA_LV= LVM2_METADATA_LV= LVM2_LV_ROLE=public LVM2_MOVE_PV= LVM2_DATA_PERCENT= LVM2_METADATA_PERCENT= LVM2_COPY_PERCENT= LVM2_LV_TAGS= |LVM2_VG_NAME=rootvg LVM2_LV_NAME=RCSMW-ARM_CXP2020233_2_R20A154 LVM2_LV_UUID=TgjM5V-jhXX-tPTf-gPMa-c3w6-QEjo-7qkmVg LVM2_LV_SIZE=71303168 LVM2_LV_ATTR=wi-ao--- LVM2_SEGTYPE=linear LVM2_ORIGIN= LVM2_POOL_LV= LVM2_DATA_LV= LVM2_METADATA_LV= LVM2_LV_ROLE=public LVM2_MOVE_PV= LVM2_DATA_PERCENT= LVM2_METADATA_PERCENT= LVM2_COPY_PERCENT= LVM2_LV_TAGS= ... See [2] [1] https://github.com/storaged-project/libblockdev/pull/671 [2] https://github.com/storaged-project/libblockdev/issues/667 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: Inherit pkgconfigKhem Raj2021-09-241-1/+1
| | | | | | | | Fixes | checking for gobject-introspection... ../git/configure: line 13943: syntax error near unexpected token `gobject-introspection-1.0,,' | ../git/configure: line 13943: ` PKG_CHECK_EXISTS(gobject-introspection-1.0,,' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: upgrade 2.25 -> 2.26wangmy2021-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New minor release of the libblockdev library with multiple fixes. See below for details. Full list of changes Manuel Wassermann (1): exec: Fix deprecated glib function call Glib will rename "g_spawn_check_exit_status()" to "g_spawn_check_wait_status()" in version 2.69. Tomasz Paweł Gajc (1): remove unused variable and fix build with LLVM/clang Vojtech Trefny (22): NEWS.rts: Fix markup crypto: Fix default key size for non XTS ciphers vdo: Do not use g_memdup in bd_vdo_stats_copy fs: Allow using empty label for vfat with newest dosfstools tests: Call fs_vfat_mkfs with "--mbr=n" extra option in tests kbd: Fix memory leak crypto: Fix memory leak dm: Fix memory leak in the DM plugin and DM logging redirect function fs: Fix memory leak kbd: Fix memory leak lvm-dbus: Fix memory leak mdraid: Fix memory leak swap: Fix memory leak tests: Make sure the test temp mount is always unmounted tests: Do not check that XFS shrink fails with xfsprogs >= 5.12 tests: Temporarily skip test_snapshotcreate_lvorigin_snapshotmerge Fix skipping tests on Debian testing crypto: Let cryptsetup autodect encryption sector size when not specified tests: Do not try to remove VG before removing the VDO pool tests: Force remove LVM VG /dev/ entry not removed by vgremove tests: Tag LvmPVVGLVcachePoolCreateRemoveTestCase as unstable Add missing plugins to the default config Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-1/+1
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libblockdev: update to 2.25Oleksandr Kravchuk2021-02-041-2/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: upgrade 2.23 -> 2.24Andreas Müller2020-06-081-5/+2
| | | | | | | | Change SRC_URI: all udisks related sources moved to https://github.com/storaged-project Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* liblockdev: Loosen the regexp for py3Khem Raj2019-12-081-1/+1
| | | | | | | | | | | | | Fixes packaging with py 3.8 ERROR: libblockdev-2.23-r0 do_package: QA Issue: libblockdev: Files/directories were installed but not shipped in any package: /usr/lib/python3.8 /usr/lib/python3.8/site-packages /usr/lib/python3.8/site-packages/gi /usr/lib/python3.8/site-packages/gi/overrides /usr/lib/python3.8/site-packages/gi/overrides/BlockDev.py Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: update to 2.23Oleksandr Kravchuk2019-09-161-1/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: fix PACKAGECONFIG regarding pythonQi.Chen@windriver.com2019-08-291-3/+3
| | | | | | | | | | | | | The python2 PACKAGECONFIG was added during an upgrade, defaulting to be disabled. The RDEPENDS part should be 'python' instead 'python2' because there's no python2 recipe. Also, we don't need to inherit some python classes. We just need to specify FILES variable. After this change, the python2 and python3 PACKAGECONFIG items could correctly work. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: 2.20 -> 2.22Hongxu Jia2019-07-101-1/+1
| | | | | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: 2.18 -> 2.20Hongxu Jia2018-11-271-3/+3
| | | | | | | | Add nvdimm support since upstream python3-blivet [20ae5ea Re-add nvdimm plugin Recommends on 3.1+.] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: correct PACKAGECONFIGHongxu Jia2018-09-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | Since commit `6cc057d libblockdev: make various features optional' applied, it introduced issues: 1. As configure.ac told us, mpath/dm/lvm/lvm-dbus should have the same depends, runtime depends [configure.ac] |AS_IF([test "x$with_dm" != "xno" -o "x$with_lvm" != "xno" -o "x$with_lvm_dbus" != "xno" -o "x$with_mpath" != "xno"], | [LIBBLOCKDEV_PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= 1.02.93])], | []) [configure.ac] 2. Remove duplicated PACKAGECONFIG tags `lvm-dbus' 3. Remove `lvm-dbus' from PACKAGECONFIG since recipe lvm2 does not support dbus 4. Align with previous configure options, we should add `mpath' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: make various features optionalMax Kellermann2018-09-241-7/+7
| | | | | Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: drop obsolete patchHongxu Jia2018-08-152-88/+0
| | | | | | | Since libblockdev is upgraded to 2.18, the local patch is obsolete. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: add PACKAGECONFIG for lvm-dbusHongxu Jia2018-08-081-0/+1
| | | | | | | | Currently, recipe lvm2 does not support dbus very well, so add PACKAGECONFIG lvm-dbus for libblockdev and disable it by default. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: clean up obsolete patchesHongxu Jia2018-08-024-683/+0
| | | | | | | | Since upgrading libblockdev to 2.18, these patches are useless, remove them. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: cleanup/fix PACKAGECONFIG/dependenciesIoan-Adrian Ratiu2018-07-271-8/+3
| | | | | | | | | | 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>
* libblockdev: 2.16 -> 2.18Changqing Li2018-07-202-35/+41
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libblockdev: update 2.10 -> 2.16Andreas Müller2018-04-085-68/+90
| | | | | | | | | | | | | I gave my best to rework patches: * 0005-fix-a-clang-compiling-issue.patch: This was a bit challenging. Because of I do not use clang I cannot test and confirm that no new breakers were introduced. * 0004-fix-compile-failure-against-musl-C-library.patch: Just tested to apply properly. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libblockdev: fix a clang compiling issueHongxu Jia2017-08-132-0/+112
| | | | | | | | | | | | | | | | | [snip] ../../../git/src/plugins/fs.c:2617:26: error: missing field 'start' initializer [-Werror,-Wmissing-field-initializers] PedGeometry geom = {0}; ^ ../../../git/src/plugins/fs.c:2618:30: error: missing field 'start' initializer [-Werror,-Wmissing-field-initializers] PedGeometry new_geom = {0}; [snip] Fix typo s/enum libvk_packet_format format/enum libvk_secret secret_type/ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libblockdev: add recipe 2.10Hongxu Jia2017-08-135-0/+679
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>