From 301276c0d3d279b0eddc14f046958004692bdf4c Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Mon, 27 Jul 2009 10:19:38 +0200 Subject: [PATCH] lvm2: split out device-mapper part --- lvm2/.footprint | 7 ------- lvm2/Pkgfile | 9 ++++++--- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/lvm2/.footprint b/lvm2/.footprint index c150a1660..b6241b1bb 100644 --- a/lvm2/.footprint +++ b/lvm2/.footprint @@ -3,11 +3,7 @@ drwxr-xr-x root/root etc/lvm/ drwx------ root/root etc/lvm/archive/ drwx------ root/root etc/lvm/backup/ -rw-r--r-- root/root etc/lvm/lvm.conf -drwxr-xr-x root/root lib/ -lrwxrwxrwx root/root lib/libdevmapper.so -> libdevmapper.so.1.02 --r-xr-xr-x root/root lib/libdevmapper.so.1.02 drwxr-xr-x root/root sbin/ --r-xr-xr-x root/root sbin/dmsetup -r-xr-xr-x root/root sbin/fsadm lrwxrwxrwx root/root sbin/lvchange -> lvm lrwxrwxrwx root/root sbin/lvconvert -> lvm @@ -55,13 +51,10 @@ lrwxrwxrwx root/root sbin/vgs -> lvm lrwxrwxrwx root/root sbin/vgscan -> lvm lrwxrwxrwx root/root sbin/vgsplit -> lvm drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/include/ --r--r--r-- root/root usr/include/libdevmapper.h drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man5/ -r--r--r-- root/root usr/man/man5/lvm.conf.5.gz drwxr-xr-x root/root usr/man/man8/ --r--r--r-- root/root usr/man/man8/dmsetup.8.gz -r--r--r-- root/root usr/man/man8/fsadm.8.gz -r--r--r-- root/root usr/man/man8/lvchange.8.gz -r--r--r-- root/root usr/man/man8/lvconvert.8.gz diff --git a/lvm2/Pkgfile b/lvm2/Pkgfile index 6bf9b7824..4c4107f33 100644 --- a/lvm2/Pkgfile +++ b/lvm2/Pkgfile @@ -1,23 +1,26 @@ # Description: Userspace toolset for logical volume management # URL: http://sourceware.org/lvm2/ # Maintainer: Juergen Daubert, jue at crux dot nu -# Packager: Mark Rosenstand, mark at borkware dot net +# Depends on: libdevmapper name=lvm2 version=2.02.49 -release=1 +release=2 source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz) build() { cd LVM2.$version ./configure --prefix=/usr \ - --exec-prefix=/ \ + --exec_prefix= \ --mandir=/usr/man \ --disable-readline make -j1 make DESTDIR=$PKG install + rm -r $PKG/{lib,usr/include} + rm $PKG/{sbin/dmsetup,usr/man/man8/dmsetup.8} + install -d -m 0700 $PKG/etc/lvm/{archive,backup} install -d -m 1777 $PKG/var/lock install -d -m 0700 $PKG/var/lock/lvm