[oe] [meta-networking][PATCH] ntp: add libgcc as runtime dependency
Shrikant Bobade
bobadeshrikant at gmail.com
Mon Mar 5 10:55:43 UTC 2018
From: Shrikant Bobade <shrikant_bobade at mentor.com>
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
~#
Signed-off-by: Shrikant Bobade <shrikant_bobade at mentor.com>
---
meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb
index 719c60b..6db165a 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p10.bb
@@ -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"
--
2.7.4
More information about the Openembedded-devel
mailing list