mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
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:
parent
9a7d0e1a5a
commit
d3a374667d
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user