From 12948ef7d3bfc5d30cc014d2734d32187d86af2c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 27 Jan 2014 17:12:03 +0100 Subject: [PATCH] cubieboard2-base: enable systemd services manually for now. --- srcpkgs/cubieboard2-base/INSTALL | 6 ++++++ srcpkgs/cubieboard2-base/template | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 srcpkgs/cubieboard2-base/INSTALL diff --git a/srcpkgs/cubieboard2-base/INSTALL b/srcpkgs/cubieboard2-base/INSTALL new file mode 100644 index 00000000000..5cf298084da --- /dev/null +++ b/srcpkgs/cubieboard2-base/INSTALL @@ -0,0 +1,6 @@ +case "$ACTION" in +post) + # enable sshd, ntpdate, ntpd and dhcpcd services. + systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service + ;; +esac diff --git a/srcpkgs/cubieboard2-base/template b/srcpkgs/cubieboard2-base/template index 02f5a4db2e5..b4c4fe0fc7d 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.3 +version=1.4 revision=1 build_style=meta homepage="http://www.voidlinux.eu" @@ -12,13 +12,6 @@ only_for_archs="armv7l" makedepends="ntp?ntp-daemon dhcpcd openssh-server cubieboard2-uboot cubieboard2-kernel" depends="${makedepends}" -# enable ntpd, dhcpcd and sshd by default (but do not restart services). -systemd_services=" - ntpdate.service off - ntpd.service off - dhcpcd.service off - sshd.service off" - do_install() { # Load the sunxi-emac module by default. vmkdir usr/lib/modules-load.d