Never mind was able to work this out…
From: [email protected] <[email protected]> On Behalf Of
Monsees, Steven C (US) via lists.yoctoproject.org
Sent: Monday, February 7, 2022 10:42 AM
To: [email protected]
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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56097): https://lists.yoctoproject.org/g/yocto/message/56097
Mute This Topic: https://lists.yoctoproject.org/mt/88974341/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-