cubieboard2-base: only enable systemd services if systemctl exists; remove pointless rdep.
This commit is contained in:
parent
b3ffc0a10e
commit
f359594144
@ -1,6 +1,8 @@
|
|||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
# 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
|
esac
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'cubieboard2-base'
|
# Template file for 'cubieboard2-base'
|
||||||
pkgname=cubieboard2-base
|
pkgname=cubieboard2-base
|
||||||
version=1.4
|
version=1.5
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
|
|
||||||
only_for_archs="armv7l"
|
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}"
|
depends="${makedepends}"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user