Re: [oe] [meta-oe][PATCH] Add dependencies on Perl and Bash to NTP recipe

2013-04-12 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 11-04-13 22:04, li...@philipp-wagner.com schreef:
 From: Philipp Wagner m...@philipp-wagner.com
 
 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

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-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] Add dependencies on Perl and Bash to NTP recipe

2013-04-12 Thread Philipp Wagner

Am 12.04.2013 12:07, schrieb Koen Kooi:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 11-04-13 22:04, li...@philipp-wagner.com schreef:

From: Philipp Wagner m...@philipp-wagner.com

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


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.


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

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] Add dependencies on Perl and Bash to NTP recipe

2013-04-11 Thread lists
From: Philipp Wagner m...@philipp-wagner.com

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.

Signed-off-by: Philipp Wagner m...@philipp-wagner.com
---
 meta-networking/recipes-support/ntp/ntp.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/ntp/ntp.inc 
b/meta-networking/recipes-support/ntp/ntp.inc
index d93f22d..a563a08 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -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
-- 
1.8.1.4

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel