From e904a66ae2482aa0ea158e7e1de45422448dfbdb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 19 Dec 2015 10:22:18 +0100 Subject: [PATCH] busybox: register 'ntpd' alternative group. --- srcpkgs/busybox/files/busybox-ntpd/run | 2 +- srcpkgs/busybox/template | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/busybox/files/busybox-ntpd/run b/srcpkgs/busybox/files/busybox-ntpd/run index ac1fb24dde9..e2c8b32431f 100755 --- a/srcpkgs/busybox/files/busybox-ntpd/run +++ b/srcpkgs/busybox/files/busybox-ntpd/run @@ -1,2 +1,2 @@ #!/bin/sh -exec chpst -b ntpd busybox-ntpd -nN -p pool.ntp.org +exec ntpd -nN -p pool.ntp.org diff --git a/srcpkgs/busybox/template b/srcpkgs/busybox/template index b71c032c262..f677c7dfa39 100644 --- a/srcpkgs/busybox/template +++ b/srcpkgs/busybox/template @@ -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 " @@ -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() {