Add dependencies on Perl and Bash to NTP recipe
PATCH 1/1 Add dependencies on Perl and Bash to NTP recipe
From: Philipp Wagner <[email protected]>
do_rootfs gave errors about bash and perl not being found. This patch adds the two packages to the runtime dependencies to fix this problem.
--- meta-networking/recipes-support/ntp/ntp.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/ntp/ntp.inc +1 -1
@@ -59,7 +59,7 @@ PACKAGES += "ntpdate ${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" +RDEPENDS_${PN} = "${PN}-tickadj perl bash" # Handle move from bin to utils package RPROVIDES_${PN}-utils = "${PN}-bin" RREPLACES_${PN}-utils = "${PN}-bin"
Signature · 1 line
1.8.1.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 11-04-13 22:04, [email protected] schreef:
Quoted 4 lines
From: Philipp Wagner <[email protected]>
do_rootfsgave errors about bash and perl not being found. This patch adds the two packages to the runtime dependencies to fix this problem
The bash dependencies need to get checked and changed to /bin/sh and perl scripts need to get split out into a seperate packages, dragging in perl and bash for ntp is unacceptable.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFRZ9zXMkyGM64RGpERArXAAJ9o7cBaKCvIxdSzniekV5Hblmzc0wCgsDu3 1d6IKRWK+zMTl55UhyxC1Lg=
=SxZ0
-----END PGP SIGNATURE-----
Am 12.04.2013 12:07, schrieb Koen Kooi:
Quoted 4 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 11-04-13 22:04, [email protected] schreef:
Quoted 8 lines
Quoted 4 lines
From: Philipp Wagner <[email protected]>
do_rootfsgave errors about bash and perl not being found. This patch adds the two packages to the runtime dependencies to fix this problemThe bash dependencies need to get checked and changed to
/bin/shand perl scripts need to get split out into a seperate packages, dragging in perl and bash for ntp is unacceptable.
The bash dependency comes from osd_login (installed at /sbin/osd_login) and start-statd (installed at /usr/sbin/start-statd).
The first one uses $BASHPID, and I'm not sure why $$ wasn't used.
The latter one (start-statd) uses the following shebang:
#!/bin/bash -p
I don't know if there's any POSIX equivalent that could be used.
All in all, I'm not familiar enough with the scripts (or with the differences between bash and POSIX shell behavior) to patch any of the scripts, so some help would be required here if the scripts should be changed.
As for the perl dependency, I just checked the RPM and it was not in there any more ... I'll double-check and come back with more details on this one.
Philipp