Hi, it might be a syntax issue with THISDIR variable expansion: it should
be in curly braces for Yocto.

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append =  " file://rpi-config.patch"

Have a look to this Variable Expansion documentation for more details:
https://docs.yoctoproject.org/bitbake/2.2/bitbake-user-manual/bitbake-user-manual-metadata.html#variable-expansion

Regards,
Daniel


On Tue, Aug 8, 2023 at 11:28 AM Khem Raj <raj.k...@gmail.com> wrote:

> where does 0001-disable-bluetooth-and-enable-uart0.patch exist in your
> layer? can you show the path ?
>
> On Tue, Aug 8, 2023 at 10:02 AM Crane <crane2...@gmail.com> wrote:
> >
> > The error is this when bitbaking only the recipe for rpi-config:
> > "WARNING: rpi-config-git-r5 do_fetch: Failed to fetch URL
> file://0001-disable-bluetooth-and-enable-uart0.patch, attempting MIRRORS if
> available
> > ERROR: rpi-config-git-r5 do_fetch: Fetcher failure: Unable to find file
> file://0001-disable-bluetooth-and-enable-uart0.patch anywhere. The paths
> that were searched were:
> > ....
> > "
> > The listed searching paths don't include the custom layer where the
> patch is placed.
> > The complete error info is in the attached file "bitbake rpi-config.txt".
> >
> > When bitbaking the recipe for the image, the error is the same.
> > The complete error info is in attached file "bitbake image.txt".
> >
> >
> >
> >
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60741): https://lists.yoctoproject.org/g/yocto/message/60741
Mute This Topic: https://lists.yoctoproject.org/mt/100614184/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to