Skip to contentSkip to conversation

ntp: add libgcc as runtime dependency

PATCH New Shrikant Bobade 1 participant 1 message Mar 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ntp: add libgcc as runtime dependency

From: Shrikant Bobade <[email protected]>

libgcc is required by ntpd for execution, so add it as runtime dependency.

ntpd execution ref. log.
~# /etc/init.d/ntpd start
Starting ntpd: libgcc_s.so.1 must be installed for pthread_cancel to work Aborted
done
~#

---
 meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb +2 -0
index 719c60b..6db165a 100644
@@ -109,6 +109,8 @@ PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
 # ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms
 # with wonky clocks (e.g. OpenSlug)
 RDEPENDS_${PN} = "${PN}-tickadj"
+# ntpd require libgcc for execution
+RDEPENDS_${PN} += "libgcc"
 # Handle move from bin to utils package
 RPROVIDES_${PN}-utils = "${PN}-bin"
 RREPLACES_${PN}-utils = "${PN}-bin"
Signature · 1 line
2.7.4