[OE-core] how to (yuck) add arbitrary external files into an image?
Sven Ebenfeld
sven.ebenfeld at gmail.com
Sun Feb 22 08:46:49 UTC 2015
Am 22.02.2015 um 09:33 schrieb Robert P. J. Day:
>
> as much as this disturbs me, i was asked about the easiest way to
> add arbitrary files scattered across the development host into the
> final OE-generated image and, based on richard purdie's recent
> clarification that *everything* that is listed in SRC_URI is unloaded
> into WORKDIR, i suspect the easiest thing to do is create a recipe
> where SRC_URI lists all of those files with "file:///", and write an
> explicit install task that manually copies them, one at a time, into
> their final location in D, yes?
>
> i don't like this at all, but if it has to be done, is this at least
> the "best" way to do it?
I think the "best" way would be to create one recipe that collects these
files and just installs them into $D. Then you could select this package
in IMAGE_INSTALL as you described above.
Another way is to use a ROOTFS_POSTPROCESS_COMMAND if you only need to
do this for one image.
More information about the Openembedded-core
mailing list