dmraid: get rid of systemd stuff.

This commit is contained in:
Juan RP 2015-07-11 11:43:33 +02:00
parent 5d6019d18a
commit dd63d42434
2 changed files with 2 additions and 20 deletions

View file

@ -1,16 +0,0 @@
[Unit]
Description=Assemble FakeRAID arrays
DefaultDependencies=no
Requires=udev-settle.service
After=udev-settle.service
Before=basic.target shutdown.target
Conflicts=shutdown.target
[Service]
ExecStart=/usr/bin/dmraid --ignorelocking --activate y
Type=oneshot
TimeoutSec=0
RemainAfterExit=true
[Install]
WantedBy=basic.target

View file

@ -2,12 +2,12 @@
pkgname=dmraid
_distver=1.0.0.rc16
_patchver=3
revision=8
revision=9
version="${_distver}.${_patchver}"
wrksrc="${pkgname}"
build_wrksrc="${_distver}-${_patchver}/${pkgname}"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-led --enable-intel_led --enable-shared_lib"
configure_args="--enable-led --enable-intel_led --enable-shared_lib"
makedepends="device-mapper-devel"
lib32disabled=yes
short_desc="Device mapper RAID interface"
@ -20,6 +20,4 @@ checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8
post_install() {
rm -rf ${DESTDIR}/usr/include
rm -f ${DESTDIR}/usr/lib/*.a
# systemd service.
vinstall ${FILESDIR}/dmraid.service 644 usr/lib/systemd/system
}