All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <openembedded-core@emagii.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Installing files in the /home/xxx directory
Date: Thu, 17 Oct 2013 23:25:24 +0200	[thread overview]
Message-ID: <526055C4.40807@emagii.com> (raw)

Would like to install some files in under the "/home" directory.

A simplfied recipe looks like this:

do_install () {
     install -d ${D}/${base_dir}/home/root
     install    -m 0644    ${S}/my.conf ${D}/${base_dir}/home/root/my.conf
}

FILES_mypackage = "${base_dir}/home/root/* "

Have extended bitbake.conf
-----------------------------------------------------------------------------------------------------------------
+export base_dir = "${base_prefix}"
+export home_dir = "${base_prefix}/home"
-----------------------------------------------------------------------------------------------------------------


Still I get:
-----------------------------------------------------------------------------------------------------------------
WARNING: QA Issue: nodeserver: Files/directories were installed but not 
shipped
   /home
   /home/root
-----------------------------------------------------------------------------------------------------------------
What is wrong in above?

Any ideas on how to get files into "/home/xxx" ?

-- 
Best Regards
Ulf Samuelsson


             reply	other threads:[~2013-10-17 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17 21:25 Ulf Samuelsson [this message]
2013-10-21 20:08 ` Installing files in the /home/xxx directory Ulf Samuelsson

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=526055C4.40807@emagii.com \
    --to=openembedded-core@emagii.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ulf@emagii.com \
    /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.