New package: beaglebone-base.

This commit is contained in:
Juan RP 2014-12-05 10:41:37 +01:00
parent 1e25205406
commit ecfab7fa4c
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
case "$ACTION" in
post)
# enable sshd, ntpdate, ntpd and dhcpcd services.
if [ -x /usr/bin/systemctl ]; then
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
elif [ -d etc/runit/runsvdir/default ]; then
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
fi
;;
esac

View File

@ -0,0 +1,11 @@
# Template file for 'beaglebone-base'
pkgname=beaglebone-base
version=1.0
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"
short_desc="Void Linux BeagleBone/BeagleBone Black platform package"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public Domain"
only_for_archs="armv7l"
depends="virtual?ntp-daemon beaglebone-uboot beaglebone-kernel"