lvm2: include required symlinks in device-mapper pkg

This commit is contained in:
gt7-void 2020-06-14 13:43:34 -03:00 committed by Đoàn Trần Công Danh
parent 861db39326
commit 5e0026c526

View file

@ -1,7 +1,7 @@
# Template file for 'lvm2'
pkgname=lvm2
version=2.02.187
revision=1
revision=2
wrksrc="LVM2.${version}"
build_style=gnu-configure
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
@ -60,7 +60,9 @@ device-mapper-devel_package() {
vmove usr/include/libdevmapper-event.h
vmove usr/include/lvm2cmd.h
vmove usr/lib/liblvm2cmd.so
vmove "usr/lib/libdevmapper*.so"
vmove "usr/lib/libdevmapper.so"
vmove "usr/lib/libdevmapper-event.so"
vmove "usr/lib/libdevmapper-event-lvm2.so"
case $XBPS_TARGET_MACHINE in
*-musl) vmove "usr/lib/*.a";;
esac
@ -74,6 +76,7 @@ device-mapper_package() {
vmove "usr/lib/libdevmapper*.so.*"
vmove "usr/lib/liblvm2cmd.so.*"
vmove "usr/share/man/man8/dm*"
vmove usr/lib/libdevmapper-event-lvm2?*.so
vmove usr/lib/device-mapper
for f in 10-dm 13-dm-disk 95-dm-notify; do
vmove usr/lib/udev/rules.d/${f}.rules