Skip to contentSkip to conversation

ntp: install after busybox

PATCH Superseded Baruch Siach 2 participants 2 messages May 19, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ntp: install after busybox

Make sure that ntp installs after busybox so that it overrides the busybox provided ntpd applet.

---
 package/ntp/ntp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ntp/ntp.mk +1 -1
index 554094db1b3a..6254dc2a7313 100644
@@ -7,7 +7,7 @@
 NTP_VERSION_MAJOR = 4.2
 NTP_VERSION = $(NTP_VERSION_MAJOR).8p2
 NTP_SITE = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR)
-NTP_DEPENDENCIES = host-pkgconf libevent
+NTP_DEPENDENCIES = host-pkgconf libevent busybox
 NTP_LICENSE = ntp license
 NTP_LICENSE_FILES = COPYRIGHT
 NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 ntp: install after busybox

Dear Baruch Siach,

Quoted 13 lines · Baruch Siach

Make sure that ntp installs after busybox so that it overrides the busybox provided ntpd applet.

---
 package/ntp/ntp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ntp/ntp.mk +0 -0
index 554094db1b3a..6254dc2a7313 100644

package/ntp/ntp.mk line 10

Quoted 5 lines
package/ntp/ntp.mk +1 -1
@@ -7,7 +7,7 @@
 NTP_VERSION_MAJOR = 4.2
 NTP_VERSION = $(NTP_VERSION_MAJOR).8p2
 NTP_SITE = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR)
-NTP_DEPENDENCIES = host-pkgconf libevent
+NTP_DEPENDENCIES = host-pkgconf libevent busybox

busybox should not be mandatory dependency of ntp, you can have a system without busybox. So you should do like the other packages in the same situation:

# Prefer full-blown tar over buybox's version
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
TAR_DEPENDENCIES += busybox
endif

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com