mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
diskdev_cmds: install all applets to /sbin
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9488889fc0
commit
1b6ea3be32
@ -22,11 +22,11 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/fsck_hfs.tproj/fsck_hfs $INSTALL/usr/sbin
|
||||
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfs
|
||||
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfsplus
|
||||
mkdir -p $INSTALL/sbin
|
||||
cp $PKG_BUILD/fsck_hfs.tproj/fsck_hfs $INSTALL/sbin
|
||||
ln -sf fsck_hfs $INSTALL/sbin/fsck.hfs
|
||||
ln -sf fsck_hfs $INSTALL/sbin/fsck.hfsplus
|
||||
|
||||
cp $PKG_BUILD/newfs_hfs.tproj/newfs_hfs $INSTALL/usr/sbin
|
||||
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfs
|
||||
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfsplus
|
||||
cp $PKG_BUILD/newfs_hfs.tproj/newfs_hfs $INSTALL/sbin
|
||||
ln -sf newfs_hfs $INSTALL/sbin/mkfs.hfs
|
||||
ln -sf newfs_hfs $INSTALL/sbin/mkfs.hfsplus
|
||||
|
@ -23,7 +23,7 @@ SUBSYSTEM!="block", GOTO="end"
|
||||
ACTION!="add", GOTO="end"
|
||||
|
||||
ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N"
|
||||
ACTION=="add", ENV{ID_FS_TYPE}=="hfs|hfsplus", RUN+="/usr/sbin/fsck.hfsplus -r -y /dev/%k"
|
||||
ACTION=="add", ENV{ID_FS_TYPE}=="hfs|hfsplus", RUN+="/sbin/fsck.hfsplus -r -y /dev/%k"
|
||||
|
||||
# exit
|
||||
LABEL="end"
|
||||
|
Loading…
x
Reference in New Issue
Block a user