summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/files
Commit message (Collapse)AuthorAgeFilesLines
* lvm2: allow for reproducible binary buildsSlater, Joseph2020-07-281-6/+10
| | | | | | | | | Modify original method to eliminate conditional patching of configure.ac. Use SOURCE_DATE_EPOCH which is required for reproducible binaries. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2: reproducible binariesSlater, Joseph2020-07-201-0/+24
| | | | | | | | | For reproducible binaries, create a static CONFIGURE_LINE during configuration rather than reporting the command line invoking configure. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2/libdevmapper: 2.03.05 -> 2.03.06Zheng Ruoqin2019-11-061-78/+0
| | | | | | | | | | | | 1) Remove five patches for they have been merged in new version. 0001-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch 0001-configure-Fix-setting-of-CLDFLAGS-default.patch 0001-activation-add-synchronization-point.patch 0002-activation-extend-handling-of-pending_delete.patch 0003-snapshot-always-activate.patch Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2/libdevmapper: 2.03.02 -> 2.03.05Hongxu Jia2019-10-171-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Change to git repo 2. Backport three patches to fix the following issue: While commit [cd735ab1df systemd: upgrade to 243] applied in oe-core, lvmremove hung as following steps: ... dd if=/dev/zero of=./p0 bs=1M count=100 dd if=/dev/zero of=./p1 bs=1M count=100 losetup /dev/loop20 ./p0 losetup /dev/loop21 ./p1 pvcreate -y /dev/loop20 -ff pvcreate -y /dev/loop21 -ff vgcreate rootvg /dev/loop20 /dev/loop21 lvcreate -v -y -L 50 -n rootlv rootvg mkfs -t ext4 /dev/rootvg/rootlv mkdir -p ./lv mount /dev/rootvg/rootlv ./lv lvcreate -v -L 50 -s -n backup /dev/rootvg/rootlv lvconvert -v --merge -i 1 /dev/rootvg/backup umount ./lv vgchange -v -an vgchange -v -ay lvremove -f /dev/rootvg/rootlv ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2/libdevmapper: Make it build for nativePeter Kjellerstedt2019-09-111-0/+78
| | | | | | | | Backport a patch from upstream master that corrects the passing of link flags through configure. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2/libdevmapper: 2.03.01 -> 2.03.02Kai Kang2019-03-033-38/+18
| | | | | | | | | | | | | | | Upgrade lvm2/libdevmapper from 2.03.01 to 2.03.02. * update SRC_URI back to use ftp url - 2.03.02 has been released but no such tag in git repo - subdir 'releases' on ftp site should be a persistent place for tarballs * drop 0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch which is not needed any longer * remove backpoort patch * update patch contexts Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2/libdevmapper: 2.02.180 -> 2.03.01Hongxu Jia2018-11-272-114/+52
| | | | | | | | | | | | | | | | | | - Upddate upstream SRC_URI, use github to replace tarball - Rebase 0001-Avoid-bashisms-in-init-scripts.patch, 0005-do-not-build-manual.patch, 0001-explicitly-do-not-install-libdm.patch - Remove `--enable-applib' since upstream [0d22b58 liblvm: remove lvmapi] - Remove `lvmetad' since upstream [117160b Remove lvmetad] - Remove `oe_runmake ... -C tools install_device-mapper' since upstream [0524829 dmsetup: move to libdm/dm-tools/dmsetup] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2/libdevmapper: 2.02.177 -> 2.02.180Hongxu Jia2018-08-022-30/+45
| | | | | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2: refresh patchesArmin Kuster2018-05-265-88/+73
| | | | | | | used quilt to refresh Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2: fix start lvm2-monitor.service failedHongxu Jia2017-09-222-1/+33
| | | | | | | | | | | | | | | | | | | | | | | While systemd based, start lvm2-monitor.service failed. ... |Sep 21 05:37:34 qemux86-64 lvm[389]: /var/lock: stat failed: No such file or directory |Sep 21 05:37:34 qemux86-64 systemd[1]: lvm2-monitor.service: Main process exited, code=exited, status=5/NOTINSTALLED ... The failure of lvm2-monitor.service caused reboot hung when disk partion is lvm thin provision. While starting lvm2-monitor.service, it reqires the existence of locking dir "/var/lock" which is a symlink to "../run/lock" in oe-core, and "/run" is created in "/etc/fstab" which have to be be after the start of lvm2-monitor.service. So tweak the locking dir to "/tmp/lock" and make sure the dir existence (after tmp.mount). Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2/libdevmapper: workaround build man failureHongxu Jia2017-08-131-0/+58
| | | | | | | | | | | | | On some host (ubuntu 1404), build manual failed. ... ./tools/man-generator --primary lvscan lvscan.8_des Failed to stat description file lvscan.8_des. ... Do not build man to workaround the issue. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: separate libdevmapper to avoid circular dependencyChen Qi2017-04-266-0/+685
If we enable 'cryptsetup' PACKAGECONFIG for systemd, there would be circular dependency issue among 'systemd', 'cryptsetup' and 'lvm2'. cryptsetup only needs libdevmapper from lvm2. So we separte libdevmapper into a new recipe to solve this circular dependency issue. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>