Adding SCM'ed files to image
Hello world
I've been struggling a bit, but I'm sure there must be a generic solution to my problem (as a bbclass perhaps ??)
I'm building a bootable image (NOT a distribution) for our product.
But I need a simple recipe to copy some files
I have a bunch of files (scripts, configuration files etc) these files are under git control, I want the directory structure in the repository, populated on to the image
so in my git I have something that could look like this .
├── bin ├── etc │ └── file_in-etc └── usr
I want it overlayed on the target image,
It proved surprisingly difficult when the files are not a precanned part of the recipe (in a files directory). the recipe doesn't know the dirs & files in advance. I managed to get the structure checked out in WORKDIR/git but getting from her to the image still troubles me
I'm sure somebody else had the same issues, but I can t find an elegant solution
any pointers will be highly appreciated
BR
-Lars