public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Stephen Ecker <stephenecker240@gmail.com>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: patch files
Date: Mon, 20 Jan 2025 11:31:28 +0300	[thread overview]
Message-ID: <759c17a39de5c2f18e40dc43a6d1f57c668be94d.camel@ilbers.de> (raw)
In-Reply-To: <47d4ffc5-3681-4567-91c7-e6533a64b893n@googlegroups.com>

On Sun, 2025-01-19 at 09:32 -0800, Stephen Ecker wrote:
> I'm not certain if this is isar specific or just bitbake:  I have a
> patch file I've added to my layer but my build keeps erroring stating
> that it can't find the file to patch.  the target file is in a recipe
> of the same name but in a different layer.  to where should the patch
> file point in its second line?
> 
> thanks
> 

Hello.
If you have some <recipe>.bb in some layer and <files/your.patch> for
it in your layer, you should also create in your layer
<recipe>.bbappend with the contents like:

| FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
| SRC_URI:append = " \
|     file://your.patch \
| "


> -- 
> You received this message because you are subscribed to the Google
> Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to isar-users+unsubscribe@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/isar-users/47d4ffc5-3681-4567-91c7-e6533a64b893n%40googlegroups.com
> .

-- 
Best regards,
Uladzimir.



-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/759c17a39de5c2f18e40dc43a6d1f57c668be94d.camel%40ilbers.de.

  reply	other threads:[~2025-01-20  8:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-19 17:32 Stephen Ecker
2025-01-20  8:31 ` Uladzimir Bely [this message]
2025-01-20 10:44   ` Stephen Ecker
2025-01-20 10:57   ` Stephen Ecker
2025-01-21 12:43     ` Uladzimir Bely
2025-01-21 13:50       ` Stephen Ecker

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=759c17a39de5c2f18e40dc43a6d1f57c668be94d.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    --cc=stephenecker240@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox