diff --git a/srcpkgs/lvm2/device-mapper.template b/srcpkgs/lvm2/device-mapper.template index 25fe785639..5d4cd5b690 100644 --- a/srcpkgs/lvm2/device-mapper.template +++ b/srcpkgs/lvm2/device-mapper.template @@ -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 } diff --git a/srcpkgs/lvm2/files/lvm2.initramfs-hook b/srcpkgs/lvm2/files/lvm2.initramfs-hook index e8f1a7dd53..10a3e9ee6c 100644 --- a/srcpkgs/lvm2/files/lvm2.initramfs-hook +++ b/srcpkgs/lvm2/files/lvm2.initramfs-hook @@ -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 diff --git a/srcpkgs/lvm2/template b/srcpkgs/lvm2/template index 890a6daed4..e48d31daa7 100644 --- a/srcpkgs/lvm2/template +++ b/srcpkgs/lvm2/template @@ -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