All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Larsen <lars@visionweeding.com>
To: yocto@yoctoproject.org
Subject: Adding SCM'ed files to image
Date: Thu, 11 Feb 2016 13:08:59 +0100	[thread overview]
Message-ID: <56BC79DB.6030108@visionweeding.com> (raw)

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










                 reply	other threads:[~2016-02-11 12:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56BC79DB.6030108@visionweeding.com \
    --to=lars@visionweeding.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.