All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding SCM'ed files to image
@ 2016-02-11 12:08 Lars Larsen
  0 siblings, 0 replies; only message in thread
From: Lars Larsen @ 2016-02-11 12:08 UTC (permalink / raw)
  To: yocto

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










^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-11 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11 12:08 Adding SCM'ed files to image Lars Larsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.