All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Monsees, Steven C (US)" <steven.monsees@baesystems.com>
To: "Monsees, Steven C (US)" <steven.monsees@baesystems.com>,
	"yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: RE: [yocto] patching files under "dynamic-layers"
Date: Mon, 7 Feb 2022 19:56:28 +0000	[thread overview]
Message-ID: <20220207195632.EFDA5C433EF@smtp.lore.kernel.org> (raw)
In-Reply-To: <MADEUP.16D18B55BB2D0E75.22346@lists.yoctoproject.org>

[-- Attachment #1: Type: text/plain, Size: 2021 bytes --]


Never mind was able to work this out…

From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On Behalf Of Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Monday, February 7, 2022 10:42 AM
To: yocto@lists.yoctoproject.org
Subject: [yocto] patching files under "dynamic-layers"

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.



I am building with zeus 3.0.4, Intel based…

I trying to learn how to introduce a patch to files brought in by packages under “dynamic –layers”… my bbappend appears not to be applying my test patch (even though no errors/warnings thrown)…

This is the package I am trying to manipulate:

/disk0/scratch/smonsees/yocto/workspace_3/meta-intel/dynamic-layers/clang-layer/recipes-opencl/igc
It contains:
files  intel-graphics-compiler_1.0.11.bb

This is my recipe to apply patch:

/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/meta-intel/dynamic-layers/clang-layer/recipes-opencl/igc
It contains:
files  intel-graphics-compiler_1.0.11.bbappend

files - contains the file I am attempting to patch (FILE_TO_PATCH.patch)
intel-graphics-compiler_1.0.11.bbappend is setup like so, where

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "\
    file://FILE_TO_PATCH.patch \
"

I attempted to male use of BBFILES_DYNAMIC but even though I get no error, patch is not applied.

conf/layer.conf:
BBFILES_DYNAMIC += " \
    clang-layer:$(LAYERDIR)/dynamic-layers/clang-layer/recipes-opencl/igc/*.bbappend \
"

Can you explain to me the proper way to patch files under these circumstances and where I went wrong ?

Thanks,
Steve


[-- Attachment #2: Type: text/html, Size: 7454 bytes --]

           reply	other threads:[~2022-02-07 19:56 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <MADEUP.16D18B55BB2D0E75.22346@lists.yoctoproject.org>]

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=20220207195632.EFDA5C433EF@smtp.lore.kernel.org \
    --to=steven.monsees@baesystems.com \
    --cc=yocto@lists.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.