cubieboard2-base: only enable systemd services if systemctl exists; remove pointless rdep.
This commit is contained in:
parent
b3ffc0a10e
commit
f359594144
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
case "$ACTION" in
|
||||
post)
|
||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
||||
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
||||
if [ -x usr/bin/systemctl ]; then
|
||||
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cubieboard2-base'
|
||||
pkgname=cubieboard2-base
|
||||
version=1.4
|
||||
version=1.5
|
||||
revision=1
|
||||
build_style=meta
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
license="Public Domain"
|
||||
|
||||
only_for_archs="armv7l"
|
||||
makedepends="ntp?ntp-daemon dhcpcd openssh-server cubieboard2-uboot cubieboard2-kernel"
|
||||
makedepends="ntp?ntp-daemon openssh-server cubieboard2-uboot cubieboard2-kernel"
|
||||
depends="${makedepends}"
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in a new issue