mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
udisks: readd reworked automount script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
631abab2a8
commit
d1e187b821
@ -49,8 +49,12 @@ PKG_CONFIGURE_OPTS_TARGET="--datadir=/usr/share \
|
|||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf $INSTALL/etc/profile.d
|
rm -rf $INSTALL/etc/profile.d
|
||||||
rm -rf $INSTALL/lib/udev/rules.d
|
rm -rf $INSTALL/lib/udev/rules.d
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib/udisks
|
||||||
|
cp $PKG_DIR/scripts/udisks-mount-disks $INSTALL/usr/lib/udisks
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
enable_service udisks.service
|
enable_service udisks.service
|
||||||
|
enable_service udisks-mount-disks.service
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Mount internal disks
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/lib/udisks/udisks-mount-disks
|
||||||
|
Type=oneshot
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=remote-fs.target
|
Loading…
x
Reference in New Issue
Block a user