LVM2: install bins to /usr/bin

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-11-05 01:21:07 +01:00
parent 3fe6fa660b
commit 3f81554ec0
2 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,8 @@ ac_cv_func_malloc_0_nonnull=yes \
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--disable-lvm1_fallback \
--disable-static_link \
--disable-readline \
@ -47,3 +49,4 @@ ac_cv_func_malloc_0_nonnull=yes \
make
$MAKEINSTALL
make DESTDIR=`pwd`/.install install

View File

@ -29,7 +29,7 @@ mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libdm/ioctl/libdevmapper.so* $INSTALL/usr/lib
if [ "$DEVTOOLS" = yes ]; then
mkdir -p $INSTALL/sbin
cp $PKG_BUILD/tools/lvm $INSTALL/sbin
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/tools/lvm $INSTALL/usr/bin
fi