From 124992e81e5232a2118f60b6fbd530906e3cd5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Glo=C3=9Fner?= Date: Fri, 28 Sep 2007 15:13:59 +0200 Subject: [PATCH] libdevmapper: moved dmsetup to /sbin --- libdevmapper/.footprint | 6 ++---- libdevmapper/Pkgfile | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/libdevmapper/.footprint b/libdevmapper/.footprint index b419a5a80..e0c61db2e 100644 --- a/libdevmapper/.footprint +++ b/libdevmapper/.footprint @@ -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 diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile index a83d0fdd0..560c290b3 100644 --- a/libdevmapper/Pkgfile +++ b/libdevmapper/Pkgfile @@ -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 }