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: Re: Installing files in the /home/xxx directory
Date: Mon, 21 Oct 2013 22:08:03 +0200	[thread overview]
Message-ID: <526589A3.3010905@emagii.com> (raw)
In-Reply-To: <526055C4.40807@emagii.com>

On 2013-10-17 23:25, Ulf Samuelsson wrote:
> 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" ?
>
When everything else fails, try the obvious...

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

FILES_${PN} += " \
            /home/root/* \
         "

-- 
Best Regards
Ulf Samuelsson
eMagii



      reply	other threads:[~2013-10-21 20:08 UTC|newest]

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

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=526589A3.3010905@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.