diskdev_cmds: install all applets to /sbin

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-24 18:26:43 +02:00
parent 9488889fc0
commit 1b6ea3be32
2 changed files with 8 additions and 8 deletions

View File

@ -22,11 +22,11 @@
. config/options $1 . config/options $1
mkdir -p $INSTALL/usr/sbin mkdir -p $INSTALL/sbin
cp $PKG_BUILD/fsck_hfs.tproj/fsck_hfs $INSTALL/usr/sbin cp $PKG_BUILD/fsck_hfs.tproj/fsck_hfs $INSTALL/sbin
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfs ln -sf fsck_hfs $INSTALL/sbin/fsck.hfs
ln -sf fsck_hfs $INSTALL/usr/sbin/fsck.hfsplus ln -sf fsck_hfs $INSTALL/sbin/fsck.hfsplus
cp $PKG_BUILD/newfs_hfs.tproj/newfs_hfs $INSTALL/usr/sbin cp $PKG_BUILD/newfs_hfs.tproj/newfs_hfs $INSTALL/sbin
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfs ln -sf newfs_hfs $INSTALL/sbin/mkfs.hfs
ln -sf newfs_hfs $INSTALL/usr/sbin/mkfs.hfsplus ln -sf newfs_hfs $INSTALL/sbin/mkfs.hfsplus

View File

@ -23,7 +23,7 @@ SUBSYSTEM!="block", GOTO="end"
ACTION!="add", GOTO="end" ACTION!="add", GOTO="end"
ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N" 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 # exit
LABEL="end" LABEL="end"