[OE-core] [PATCH 1/1] bootimage: Use ${S} explicitly for generated config files

Richard Purdie richard.purdie at linuxfoundation.org
Fri Dec 2 15:29:01 UTC 2011


On Thu, 2011-12-01 at 19:20 -0800, Darren Hart wrote:
> The syslinux and grub-efi classes were generating config files in the current
> working directory. This caused a failure due to a race in the creation of the
> directories leading to cwd changing and the build failing to find the config
> files. While this has been addressed in bitbake, it is better to use an
> explicit path.
> 
> While ${WORKDIR} may seem a more appropriate place, the recipe
> already uses ${S} for the "hdd" and "cd" construction, so we use ${S}
> here to keep things consolidated and consistent and address the issue
> with minimal change.
> 
> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
> ---
>  meta/classes/grub-efi.bbclass |    8 +++-----
>  meta/classes/syslinux.bbclass |    4 ++--
>  2 files changed, 5 insertions(+), 7 deletions(-)

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list