diff --git a/srcpkgs/cubieboard2-base/INSTALL b/srcpkgs/cubieboard2-base/INSTALL index 5cf298084da..105dd274415 100644 --- a/srcpkgs/cubieboard2-base/INSTALL +++ b/srcpkgs/cubieboard2-base/INSTALL @@ -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 diff --git a/srcpkgs/cubieboard2-base/template b/srcpkgs/cubieboard2-base/template index b4c4fe0fc7d..8992748cc15 100644 --- a/srcpkgs/cubieboard2-base/template +++ b/srcpkgs/cubieboard2-base/template @@ -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 " 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() {