Re: [OE-core] [PATCH v2] Remove bashisms

2016-09-29 Thread He Zhe
Sorry for slow reply. This is probably caused by the correction of installation path(from ${STAGING_BINDIR_CROSS}/guile-config to ${SYSROOT_DESTDIR}${bindir_crossscripts}/guile-config). do_populate_sysroot helps us install things into ${STAGING_BINDIR_CROSS}/guile-config, we shouldn't do that

Re: [OE-core] [PATCH v2] Remove bashisms

2016-09-27 Thread Burton, Ross
If I apply this and then re-build guile I get this error: ERROR: guile-2.0.12-r0 do_populate_sysroot: The recipe guile is trying to install files into a shared area when those files already exist. Those files and their manifest location are:

Re: [OE-core] [PATCH v2] Remove bashisms

2016-09-26 Thread He Zhe
OK. I have senta new patch([OE-core] [PATCH] guile: Remove bashisms) for guile as other bashisms have been addressed. Thanks, Zhe On 09/22/2016 06:04 PM, Burton, Ross wrote: > On 22 September 2016 at 10:33, >wrote: > > -if type systemctl

Re: [OE-core] [PATCH v2] Remove bashisms

2016-09-22 Thread Burton, Ross
On 22 September 2016 at 10:33, wrote: > -if type systemctl >/dev/null 2>/dev/null; then > +if command -p systemctl >/dev/null 2>/dev/null; then This doesn't do what you want: $ type whoami ; echo $? whoami is /usr/bin/whoami 0 $ type foobar; echo $? -bash: type: foobar:

[OE-core] [PATCH v2] Remove bashisms

2016-09-22 Thread zhe.he
From: "Tim K. Chan" Signed-off-by: Tim K. Chan [ Adjust context Use Peter Kjellerstedt's simpler guile_cross_config ] Signed-off-by: He Zhe --- meta/classes/systemd.bbclass | 4 +--