All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: p_j_r_m <p_j_r_m@yahoo.com>,
	 "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: File in append recipe not installed
Date: Thu, 12 Mar 2015 18:01:16 -0600	[thread overview]
Message-ID: <550228CC.5010904@mlbassoc.com> (raw)
In-Reply-To: <1012444838.6297307.1426202516188.JavaMail.yahoo@mail.yahoo.com>

On 2015-03-12 17:21, p_j_r_m wrote:
> I've tested it, but the problem is the same.
> My bbappend recipe is not even called ,so it does not matter what i put in it. Why is not called?

Please don't top-post :-(

How do you know that your bbappend isn't being used/called?  If you name it
incorrectly, e.g. base-files_3.0.99.bbappend, you should get an error telling
you that there is no base-files_3.0.99.bb which matches.  Hence if it's named
base-files_3.0.14.bbappend and you get no error, it *is* being used.

Please show exactly what is now in your layer (as below).  It's really easy
to make a mistake with a '_' instead of '-'.

>
>
> El Jueves 12 de marzo de 2015 22:06, Gary Thomas <gary@mlbassoc.com> escribió:
>
>
> On 2015-03-12 14:58, p_j_r_m wrote:
>
>> Hello
>>
>> I'd like to add an append recipe for base-files in order to install a custom fstab.
>>
>> In my system I already have this base-files recipes:
>>
>>      layers/openembedded-core-1.4/meta/recipes-core/base-files/base-files_3.0.14.bb
>>      layers/meta-montavista-1.4/recipes-core/base-files/base-files_3.0.14.bbappend
>>
>> So I in my layer I have:
>>
>> layers/meta-mylayer/recipes/base-files
>> ├── base-files_3.0.14.bbappend
>> └── files
>>      └── fstab
>>
>> and I add this base-files_3.0.14.bbappend content:
>>
>> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
>>
>> SRC_URI_append = "file://fstab"
>>
>> do_install_append() {
>>          echo "======= ${PN}-${PV} INSTALLING fstab ========"
>>          install -m 644 ${WORKDIR}/fstab ${D}${sysconfdir}
>> }
>>
>> but no matter how I put FILESEXTRAPATHS_prepend or how I name my bbappend when I build the recipe with bitbake base-files it never gets called and my fstab file is not installed.
>> If the original recipe is base-files_3.0.14.bb, why append is base-files_3.0.14.bbappend instead of base-files_3.bbappend only? How should i name and put FILESEXTRAPATHS
>
>
> Instead of putting your fstab in 'files', put it in a directory
> called 'base-files-3.0.14' which is where your FILESEXTRAPATHS
> is looking.
>
> --
> ------------------------------------------------------------
> Gary Thomas                |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2015-03-13  0:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-12 20:58 File in append recipe not installed p_j_r_m
2015-03-12 21:05 ` Gary Thomas
2015-03-12 23:21   ` p_j_r_m
2015-03-13  0:01     ` Gary Thomas [this message]
2015-03-13  8:17       ` Paul Eggleton
2015-03-13 23:16         ` p_j_r_m
2015-03-14 11:27           ` Paul Eggleton
  -- strict thread matches above, loose matches on Subject: below --
2015-03-13  7:28 p_j_r_m

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=550228CC.5010904@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=p_j_r_m@yahoo.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.