util-linux: install tools in /usr/bin instead /bin, /sbin or /usr/sbin

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-11-04 21:51:00 +01:00
parent 9a7d0e1a5a
commit d3a374667d
3 changed files with 9 additions and 7 deletions

View File

@ -27,6 +27,8 @@ gt_cv_func_gnugettext1_libintl=no \
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--disable-silent-rules \
--enable-shared \
--disable-static \

View File

@ -22,12 +22,12 @@
. config/options $1
mkdir -p $INSTALL/sbin
cp $PKG_BUILD/misc-utils/.libs/blkid $INSTALL/sbin
cp $PKG_BUILD/sys-utils/fstrim $INSTALL/sbin
cp $PKG_BUILD/mount/.libs/swapon $INSTALL/sbin
ln -sf swapon $INSTALL/sbin/swapoff
cp $PKG_BUILD/fsck/.libs/fsck $INSTALL/sbin
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/misc-utils/.libs/blkid $INSTALL/usr/bin
cp $PKG_BUILD/sys-utils/fstrim $INSTALL/usr/bin
cp $PKG_BUILD/mount/.libs/swapon $INSTALL/usr/bin
ln -sf swapon $INSTALL/usr/bin/swapoff
cp $PKG_BUILD/fsck/.libs/fsck $INSTALL/usr/bin
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/libblkid/src/.libs/libblkid.so* $INSTALL/usr/lib

View File

@ -22,7 +22,7 @@
SUBSYSTEM!="block", GOTO="end"
DEVTYPE!="partition", GOTO="end"
ACTION=="add|change", RUN+="/sbin/fsck -M -T -a /dev/%k"
ACTION=="add|change", RUN+="/usr/bin/fsck -M -T -a /dev/%k"
# exit
LABEL="end"