busybox: register 'ntpd' alternative group.

This commit is contained in:
Juan RP 2015-12-19 10:22:18 +01:00
parent dbdb47e445
commit e904a66ae2
2 changed files with 7 additions and 2 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
exec chpst -b ntpd busybox-ntpd -nN -p pool.ntp.org
exec ntpd -nN -p pool.ntp.org

View File

@ -1,7 +1,7 @@
# Build template for 'busybox'.
pkgname=busybox
version=1.24.1
revision=1
revision=2
hostmakedepends="perl"
short_desc="The Swiss Army Knife of Embedded Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -10,6 +10,10 @@ homepage="http://www.busybox.net"
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
checksum=37d03132cc078937360b392170b7a1d0e5b322eee9f57c0b82292a8b1f0afe3d
alternatives="
ntpd:ntpd:/usr/bin/busybox
ntpd:ntpd:/etc/sv/busybox-ntpd"
_cflags() {
local t=$1
local c="$CFLAGS"
@ -53,6 +57,7 @@ do_build() {
do_install() {
vbin busybox/busybox_unstripped busybox
vman busybox/docs/busybox.1
vsv busybox-ntpd
}
busybox-static_package() {