On Tue, Jun 24, 2014 at 11:50 AM, Burton, Ross <[email protected]> wrote:
> On 23 June 2014 16:56, Patrick Doyle <[email protected]> wrote:
>> Should I create a core-image-minimal.bbappend file with a SRC_URI
>> pointing to my script and a do_install rule to install it?
>
> Create a new recipe for the script and then add it to the image.
>
> The documentation is useful:
> http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#extendpoky

image recipes which inherits from image.bbclass are *special* and the
normal task such as fetch, compile, install, .. are disabled. so you
cannot have a do_install() as you proposed. as Ross said, you need to
make a proper recipe, and include the recipe's package into your
image.
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to