libdevmapper: moved dmsetup to /sbin

This commit is contained in:
Simon Gloßner 2007-09-28 15:13:59 +02:00
parent cf5167b09c
commit 124992e81e
2 changed files with 4 additions and 8 deletions

View File

@ -1,16 +1,14 @@
drwxr-xr-x root/root lib/
lrwxrwxrwx root/root lib/libdevmapper.so -> libdevmapper.so.1.02
-rwxr-xr-x root/root lib/libdevmapper.so.1.02
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/dmsetup
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/libdevmapper.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libdevmapper.so -> /lib/libdevmapper.so.1.02
lrwxrwxrwx root/root usr/lib/libdevmapper.so.1.02 -> /lib/libdevmapper.so.1.02
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/devmapper.pc
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/dmsetup.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/dmsetup

View File

@ -5,7 +5,7 @@
name=libdevmapper
version=1.02.22
release=2
release=3
source=(ftp://sources.redhat.com/pub/dm/device-mapper.$version.tgz)
build() {
@ -15,6 +15,7 @@ build() {
--prefix=/usr \
--libdir=/lib \
--mandir=/usr/man \
--sbindir=/sbin \
--enable-pkgconfig \
--disable-nls \
--with-optimisation="$CFLAGS"
@ -22,7 +23,4 @@ build() {
make DESTDIR=$PKG install
find $PKG -type f -exec chmod u+w {} \;
ln -s /lib/libdevmapper.so.1.02 $PKG/usr/lib/libdevmapper.so.1.02
ln -s /lib/libdevmapper.so.1.02 $PKG/usr/lib/libdevmapper.so
}