mdadm: fix installation; install systemd services.
This commit is contained in:
parent
8840aead3f
commit
7feaeac2ad
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'mdadm'
|
# Template file for 'mdadm'
|
||||||
pkgname=mdadm
|
pkgname=mdadm
|
||||||
version=3.3.1
|
version=3.3.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="eudev-libudev-devel"
|
makedepends="eudev-libudev-devel"
|
||||||
@ -13,6 +13,7 @@ distfiles="ftp://ftp.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${ver
|
|||||||
checksum=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
|
checksum=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make CC=${CC} BINDIR=/usr/sbin STRIP=-s
|
make CC=$CC BINDIR=/usr/sbin STRIP= PREFIX=/usr \
|
||||||
|
SYSTEMD_DIR=/usr/lib/systemd/system DESTDIR=${DESTDIR} install install-systemd
|
||||||
vsconf mdadm.conf-example mdadm.conf
|
vsconf mdadm.conf-example mdadm.conf
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user