[OE-core] [wic][PATCH] wic: look for wks files in <layer>/recipes-images

Paul Eggleton paul.eggleton at linux.intel.com
Mon Dec 19 03:15:56 UTC 2016


Hi Ed,

On Fri, 16 Dec 2016 22:30:45 Ed Bartosh wrote:
> Currently wic looks for wks files in
> <layer dir>/scripts/lib/wic/canned-wks/ directories.
> This path is too nested and doesn't look consistent with the
> naming scheme of layer directories.
>
> Added 'recipes-images' directory to the list of paths
> to look for wks files.

I agree we ought to change this, but "recipes-images" isn't especially 
consistent with how paths are used in OE layers. Recipes are found using 
BBFILES, and at least in OE-Core its meta/recipes-*/*/*.bb - i.e. one layer 
down from recipes-images.

If I were to suggest an alternative it would be to just use a different name 
that doesn't imply connection with how images are found (e.g. "canned-wks" or 
"wic" or something like that).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list