lvm2: enable cmdlib, dmeventd for upcoming dmraid pkg. udev fix.
This commit is contained in:
parent
1187d3d977
commit
9c78cce0ab
|
@ -213,6 +213,9 @@ libgnutls-extra.so.26 gnutls gnutls-devel
|
|||
libgnutls-openssl.so.26 gnutls gnutls-devel
|
||||
libwrap.so.0 tcp_wrappers-libs tcp_wrappers-devel
|
||||
libdevmapper.so.1.02 device-mapper device-mapper-devel
|
||||
libdevmapper-event.so.1.02 device-mapper device-mapper-devel
|
||||
libdevmapper-event-lvm2.so.2.02 device-mapper device-mapper-devel
|
||||
liblvm2cmd.so.2.02 device-mapper device-mapper-devel
|
||||
libprop.so.0 proplib proplib-devel
|
||||
libxbps.so.0 xbps xbps-static
|
||||
libxbps.so.0 xbps-devel xbps-devel-static
|
||||
|
|
|
@ -5,14 +5,13 @@ long_desc="
|
|||
This package contains the development files for the kernel device-mapper
|
||||
library, libdevmapper."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run readline-devel
|
||||
Add_dependency run ncurses-devel
|
||||
Add_dependency run device-mapper
|
||||
Add_dependency run device-mapper ">=${version}"
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
revision=1
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
libc.so.6
|
||||
libudev.so.0
|
||||
librt.so.1
|
||||
libdl.so.2
|
||||
libpthread.so.0
|
||||
|
|
|
@ -6,10 +6,12 @@ long_desc="
|
|||
for the kernel device-mapper and its required library, libdevmapper."
|
||||
|
||||
replaces="lvm2-device-mapper>=0"
|
||||
revision=1
|
||||
revision=2
|
||||
|
||||
do_install() {
|
||||
vmove "usr/sbin/dm*" usr/sbin
|
||||
vmove "usr/lib/libdevmapper.so*" usr/lib
|
||||
vmove "usr/lib/libdevmapper*.so*" usr/lib
|
||||
vmove "usr/lib/liblvm2cmd.so*" usr/lib
|
||||
vmove "usr/share/man/man8/dm*" usr/share/man/man8
|
||||
vmove usr/lib/device-mapper usr/lib
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# needed with new udev and as implemented in dracut:
|
||||
# <http://git.kernel.org/?p=boot/dracut/dracut.git;a=commitdiff;h=12b9736228f2b34c15a9cb63be79cf7b6e865b54>
|
||||
SUBSYSTEM=="block", KERNEL=="dm-[0-9]*", ACTION=="add|change", OPTIONS="db_persist"
|
|
@ -26,7 +26,8 @@ if [ -e /etc/lvm/lvm.conf ]; then
|
|||
fi
|
||||
|
||||
mkdir -p ${DESTDIR}/lib/udev/rules.d
|
||||
for f in 10-dm.rules 11-dm-lvm.rules 13-dm-disk.rules 95-dm-notify.rules; do
|
||||
for f in 10-dm.rules 11-dm-initramfs.rules 11-dm-lvm.rules \
|
||||
13-dm-disk.rules 95-dm-notify.rules; do
|
||||
cp /lib/udev/rules.d/${f} ${DESTDIR}/lib/udev/rules.d
|
||||
done
|
||||
|
||||
|
|
|
@ -6,12 +6,11 @@ long_desc="
|
|||
lvm2app library."
|
||||
|
||||
Add_dependency run device-mapper-devel
|
||||
Add_dependency run liblvm2app
|
||||
Add_dependency run liblvm2app ">=${version}"
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/include/lvm2app.h ${DESTDIR}/usr/include
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/lvm2app* \
|
||||
${DESTDIR}/usr/lib/pkgconfig
|
||||
revision=1
|
||||
|
||||
do_install() {
|
||||
vmove usr/include/lvm2app.h usr/include
|
||||
vmove "usr/lib/pkgconfig/lvm2app*" usr/lib/pkgconfig
|
||||
}
|
||||
|
|
|
@ -3,3 +3,4 @@ libdevmapper.so.1.02
|
|||
libc.so.6
|
||||
libudev.so.0
|
||||
librt.so.1
|
||||
libdevmapper-event.so.1.02
|
||||
|
|
|
@ -6,6 +6,8 @@ long_desc="
|
|||
to the basic LVM objects and provides functions to enumerate, create or
|
||||
modify them."
|
||||
|
||||
revision=1
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/liblvm2app.so*" usr/lib
|
||||
}
|
||||
|
|
|
@ -3,3 +3,4 @@ libdevmapper.so.1.02
|
|||
libreadline.so.6
|
||||
libc.so.6
|
||||
libudev.so.0
|
||||
libdevmapper-event.so.1.02
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
# Template file for 'lvm2'
|
||||
pkgname=lvm2
|
||||
version=2.02.95
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=LVM2.${version}
|
||||
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
|
||||
--enable-fsadm --enable-applib --sbindir=/usr/sbin --libdir=/usr/lib
|
||||
--enable-udev_sync --enable-udev_rules --with-udevdir=/lib/udev/rules.d"
|
||||
--enable-dmeventd --enable-cmdlib --enable-udev_sync --enable-udev_rules
|
||||
--with-udevdir=/lib/udev/rules.d"
|
||||
short_desc="Logical Volume Manager 2 utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://sourceware.org/lvm2/"
|
||||
|
@ -42,4 +43,5 @@ post_install() {
|
|||
${initramfsdir}/hooks lvm2
|
||||
vinstall ${FILESDIR}/lvm2.initramfs-local-top 755 \
|
||||
${initramfsdir}/scripts/local-top lvm2
|
||||
vinstall ${FILESDIR}/11-dm-initramfs.rules 644 lib/udev/rules.d
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue