udisks: switch to systemd.
This commit is contained in:
parent
6a5ba04724
commit
baf3144ae4
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Disk Manager
|
||||||
|
After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=dbus
|
||||||
|
BusName=org.freedesktop.UDisks
|
||||||
|
ExecStart=/usr/libexec/udisks-daemon
|
||||||
|
StandardOutput=syslog
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical.target
|
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'udisks'
|
# Template file for 'udisks'
|
||||||
pkgname=udisks
|
pkgname=udisks
|
||||||
version=1.0.4
|
version=1.0.4
|
||||||
|
revision=1
|
||||||
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--disable-static --localstatedir=/var --enable-lvm2"
|
configure_args="--disable-static --localstatedir=/var --enable-lvm2"
|
||||||
|
@ -19,6 +20,8 @@ long_desc="
|
||||||
The actions that a user can perform using udisks are restricted using
|
The actions that a user can perform using udisks are restricted using
|
||||||
PolicyKit."
|
PolicyKit."
|
||||||
|
|
||||||
|
systemd_services="udisks.service"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run glib
|
Add_dependency run glib
|
||||||
Add_dependency run device-mapper
|
Add_dependency run device-mapper
|
||||||
|
@ -51,3 +54,8 @@ pre_build()
|
||||||
# Fix location for bash completion stuff.
|
# Fix location for bash completion stuff.
|
||||||
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
|
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system
|
||||||
|
}
|
||||||
|
|
|
@ -202,7 +202,7 @@ libgnutlsxx.so.26 gnutls gnutls-devel
|
||||||
libgnutls-extra.so.26 gnutls gnutls-devel
|
libgnutls-extra.so.26 gnutls gnutls-devel
|
||||||
libgnutls-openssl.so.26 gnutls gnutls-devel
|
libgnutls-openssl.so.26 gnutls gnutls-devel
|
||||||
libwrap.so.0 tcp_wrappers-libs tcp_wrappers-devel
|
libwrap.so.0 tcp_wrappers-libs tcp_wrappers-devel
|
||||||
libdevmapper.so.1 device-mapper device-mapper-devel
|
libdevmapper.so.1.02 device-mapper device-mapper-devel
|
||||||
libprop.so.0 proplib proplib-devel
|
libprop.so.0 proplib proplib-devel
|
||||||
libxbps.so.0 xbps xbps-static
|
libxbps.so.0 xbps xbps-static
|
||||||
libxbps.so.0 xbps-devel xbps-devel-static
|
libxbps.so.0 xbps-devel xbps-devel-static
|
||||||
|
@ -601,7 +601,7 @@ libboost_wserialization.so.1.44.0 boost boost-devel
|
||||||
libexempi.so.3 exempi exempi-devel
|
libexempi.so.3 exempi exempi-devel
|
||||||
libatasmart.so.4 libatasmart libatasmart-devel
|
libatasmart.so.4 libatasmart libatasmart-devel
|
||||||
libsgutils2.so.2 libsgutils sg3_utils-devel
|
libsgutils2.so.2 libsgutils sg3_utils-devel
|
||||||
liblvm2app.so.2 liblvm2app liblvm2app-devel
|
liblvm2app.so.2.2 liblvm2app liblvm2app-devel
|
||||||
libgdu.so.0 gnome-disk-utility gnome-disk-utility-devel
|
libgdu.so.0 gnome-disk-utility gnome-disk-utility-devel
|
||||||
libgdu-gtk.so.0 gnome-disk-utility gnome-disk-utility-devel
|
libgdu-gtk.so.0 gnome-disk-utility gnome-disk-utility-devel
|
||||||
libcpufreq.so.0 libcpufreq libcpufreq-devel
|
libcpufreq.so.0 libcpufreq libcpufreq-devel
|
||||||
|
|
Loading…
Reference in New Issue