{cubieboard2,odroid-u2,rpi}-base: do not use /var/service, might be a dangling symlink.
This commit is contained in:
parent
e75ffa65ef
commit
e2ea228cd0
6 changed files with 15 additions and 15 deletions
|
@ -3,10 +3,10 @@ post)
|
||||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
||||||
if [ -x /usr/bin/systemctl ]; then
|
if [ -x /usr/bin/systemctl ]; then
|
||||||
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
||||||
elif [ -x /usr/bin/runit-init ]; then
|
elif [ -d etc/runit/runsvdir/default ]; then
|
||||||
ln -s /etc/sv/sshd /var/service/
|
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/ntpd /var/service/
|
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/dhcpcd /var/service/
|
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
||||||
fi
|
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.6
|
version=1.8
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
|
|
|
@ -3,10 +3,10 @@ post)
|
||||||
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
|
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
|
||||||
if [ -x /usr/bin/systemctl ]; then
|
if [ -x /usr/bin/systemctl ]; then
|
||||||
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
|
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
|
||||||
elif [ -x /usr/bin/runit-init ]; then
|
elif [ -d etc/runit/runsvdir/default ]; then
|
||||||
ln -s /etc/sv/sshd /var/service/
|
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/ntpd /var/service/
|
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/dhcpcd /var/service/
|
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'odroid-u2-base'
|
# Template file for 'odroid-u2-base'
|
||||||
pkgname=odroid-u2-base
|
pkgname=odroid-u2-base
|
||||||
version=1.8
|
version=1.9
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
|
|
|
@ -3,10 +3,10 @@ post)
|
||||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
||||||
if [ -x /usr/bin/systemctl ]; then
|
if [ -x /usr/bin/systemctl ]; then
|
||||||
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
||||||
elif [ -x /usr/bin/runit-init ]; then
|
elif [ -d etc/runit/runsvdir/default ]; then
|
||||||
ln -s /etc/sv/sshd /var/service/
|
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/ntpd /var/service/
|
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
|
||||||
ln -s /etc/sv/dhcpcd /var/service/
|
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rpi-base'
|
# Template file for 'rpi-base'
|
||||||
pkgname=rpi-base
|
pkgname=rpi-base
|
||||||
version=1.7
|
version=1.8
|
||||||
revision=1
|
revision=1
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="Void Linux RaspberryPi base files"
|
short_desc="Void Linux RaspberryPi base files"
|
||||||
|
|
Loading…
Reference in a new issue