{cubieboard2,odroid-u2,rpi}-base: do not use /var/service, might be a dangling symlink.

This commit is contained in:
Juan RP 2014-07-28 22:30:37 +02:00
parent e75ffa65ef
commit e2ea228cd0
6 changed files with 15 additions and 15 deletions

View File

@ -3,10 +3,10 @@ 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 [ -x /usr/bin/runit-init ]; then
ln -s /etc/sv/sshd /var/service/
ln -s /etc/sv/ntpd /var/service/
ln -s /etc/sv/dhcpcd /var/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

@ -1,6 +1,6 @@
# Template file for 'cubieboard2-base'
pkgname=cubieboard2-base
version=1.6
version=1.8
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"

View File

@ -3,10 +3,10 @@ post)
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
if [ -x /usr/bin/systemctl ]; then
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
elif [ -x /usr/bin/runit-init ]; then
ln -s /etc/sv/sshd /var/service/
ln -s /etc/sv/ntpd /var/service/
ln -s /etc/sv/dhcpcd /var/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

@ -1,6 +1,6 @@
# Template file for 'odroid-u2-base'
pkgname=odroid-u2-base
version=1.8
version=1.9
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"

View File

@ -3,10 +3,10 @@ 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 [ -x /usr/bin/runit-init ]; then
ln -s /etc/sv/sshd /var/service/
ln -s /etc/sv/ntpd /var/service/
ln -s /etc/sv/dhcpcd /var/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

@ -1,6 +1,6 @@
# Template file for 'rpi-base'
pkgname=rpi-base
version=1.7
version=1.8
revision=1
homepage="http://www.voidlinux.eu"
short_desc="Void Linux RaspberryPi base files"