lvm2: fixed initramfs-tools hook due to switch to /usr.
This commit is contained in:
parent
3e8a12fa06
commit
b1705ed6a0
3 changed files with 4 additions and 2 deletions
|
@ -6,9 +6,10 @@ long_desc="
|
|||
for the kernel device-mapper and its required library, libdevmapper."
|
||||
|
||||
replaces="lvm2-device-mapper>=0"
|
||||
revision=1
|
||||
|
||||
do_install() {
|
||||
vmove "usr/sbin/dm*" sbin
|
||||
vmove "usr/sbin/dm*" usr/sbin
|
||||
vmove "usr/lib/libdevmapper.so*" usr/lib
|
||||
vmove "usr/share/man/man8/dm*" usr/share/man/man8
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ prereqs)
|
|||
;;
|
||||
esac
|
||||
|
||||
if [ ! -x /sbin/lvm -o ! -x /sbin/dmsetup ]; then
|
||||
if [ ! -x /usr/sbin/lvm -o ! -x /usr/sbin/dmsetup ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'lvm2'
|
||||
pkgname=lvm2
|
||||
version=2.02.95
|
||||
revision=1
|
||||
wrksrc=LVM2.${version}
|
||||
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
||||
build_style=gnu-configure
|
||||
|
|
Loading…
Reference in a new issue