mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
udisks: readd reworked automount script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -49,8 +49,12 @@ PKG_CONFIGURE_OPTS_TARGET="--datadir=/usr/share \
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/etc/profile.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() {
|
||||
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
|
||||
Reference in New Issue
Block a user