Patchwork [meta-networking] ntp: Move sntp before ntp-utils in packaging order

login
register
mail settings
Submitter Khem Raj
Date April 24, 2013, 2:08 a.m.
Message ID <1366769286-26639-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/48721/
State Accepted, archived
Commit 0546dd4297abcf8f01b719a6dcb6c2c21214734e
Headers show

Comments

Khem Raj - April 24, 2013, 2:08 a.m.
${PN}-utils has greedy expression of capturing all in ${bindir}
and sntp gets swept in too. This move in PACKAGES fixes the problem
and now sntp binary is packaged in sntp package itself.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-networking/recipes-support/ntp/ntp.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
index 004dc9b..79e7401 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -65,7 +65,7 @@  do_install_append() {
     install -m 0644 ${WORKDIR}/sntp.service ${D}${systemd_unitdir}/system/
 }
 
-PACKAGES += "ntpdate ${PN}-tickadj ${PN}-utils sntp"
+PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
 # NOTE: you don't need ntpdate, use "ntpd -q -g -x"
 
 # ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms