lvm2: split out device-mapper part

This commit is contained in:
Juergen Daubert 2009-07-27 10:19:38 +02:00
parent fadf7626d0
commit 301276c0d3
2 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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