7 Commits

Author SHA1 Message Date
Felix Piedallu
c5e90eff6c
lvm2: Do not install sbin/dmvdostats to sysroot
Version 1.02.214 of lvm2 installs this executable as an alias
to dmsetup vdostats.

This conflicts with the executable installed by libdevmapper.

Remove this binary from the sysroot, just like dmsetup and dmstats.

Signed-off-by: Félix Piédallu <felix.piedallu@non.se.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-21 07:31:01 -07:00
Louis Rannou
fec614b8cb
lvm2: move scripts to lvm2-scripts package
Move bash scripts to the lvm2-scripts package and remove the dependency to
bash.

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-13 00:17:26 -07:00
Wang Mingyu
98b1d1fe84
lvm2: update 2.03.28 -> 2.03.29
0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch
removed since it's included in 2.03.29

Changelog:
===========
* Fix renaming of raid sub LVs when converting a volume to raid (2.03.28).
* Fix segfault/VG write error for raid LV 'lvextend -i|--stripes -I|--stripesize'.
* Add configure --enable/disable-sd-notify to control lvmlockd build with sd-notify.
* Allow test mode when lvmlockd is built without dlm support.
* Add a note about RAID + integrity synchronization to lvmraid(7) man page.
* Add a function for running lvconvert --repair on RAID LVs to lvmdbusd.
* Improve option section of man pages for listing commands ({pv,lv,vg}{s,display}).
* And some cleanup mostly in test code.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:23 -08:00
Peter Kjellerstedt
150948e17f
lvm2: Remove a lingering reference to ${PN}-udevrules
The lvm2-udevrules package has not actually been created since commit
c37c867e1adddd6fa39cf3f3d4c6688ea6dc825a.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-13 07:54:45 -08:00
Fredrik Hugosson
c37c867e1a
lvm2: Remove the lvm2-udevrules package
Add the specific udev rules needed for device mapper notifications to
the libdevmapper package. This is needed to get notifications for
device mapping to work with systemd.

Move the remaining udev rules files to the lvm2 package as there is no
real reason to have them packaged separately.

List all udev files explicitly in the FILES variables so that someone
will have to make an active decision where to package any new udev files
added in the future.

Co-authored-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Fredrik Hugosson <fredrik.hugosson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-09 15:47:22 -07:00
Markus Volk
ae4a177e40
lvm2: install all systemd service files
This fixes an install-vs-shipped issue
NOTE: Executing Tasks
ERROR: lvm2-2.03.25-r0 do_package: QA Issue: lvm2: Files/directories were installed but not shipped in any package:
  /usr/lib/systemd/system/lvm-devices-import.path
  /usr/lib/systemd/system/lvm-devices-import.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lvm2: 2 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-15 20:09:37 -07:00
Markus Volk
cc4e9fbd82
lvm2: remove subitted patch
devmapper update also updated lvm2. Thus build fails with:
patching file daemons/lvmdbusd/utils.py
Hunk #1 FAILED at 778.
1 out of 1 hunk FAILED -- rejects in file daemons/lvmdbusd/utils.py

- Drop the submitted patch
- Move PV to lvm2.inc to ensure we keep it in sync for libdevmapper and lvm2
- refresh patches

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:36 -07:00