Finally find the correct way to do that.
Do "bitbake -c devshell " and then in the folder created use "git
format-patch" to create the patch file.
This way, the patch can be applied.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60827): https://li
You mean S folder?
Yes, to be specific, it is S folder. The reason I just mentioned WORKDIR was to
compare with the irrelevant folder where "diff -ruN" is used to create the
patch.
Or you mean something else?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply
you should generate it w.r.t S not WORKDIR
On Tue, Aug 8, 2023 at 11:38 AM Crane wrote:
>
> Now the issue is with the patch itself.
>
> The patch is created by using "diff -ruN" is not working. The error is "no
> file to patch". I can understand this as the file compared to in the patch
> doesn
Now the issue is with the patch itself.
The patch is created by using "diff -ruN" is not working. The error is "no file
to patch". I can understand this as the file compared to in the patch doesn't
exist in the $(WORKDIR).
I changed to use "git format-patch" in the $(WORKDIR) to generate the pa
Thanks Raj!
I forgot where I copied this piece of code. I just copied and didn't check and
believed it.
This is the problem!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60747): https://lists.yoctoproject.org/g/yocto/message/60747
Mute This Topi
On Tue, Aug 8, 2023 at 10:44 AM Daniel Chaves wrote:
> Hi, it might be a syntax issue with THISDIR variable expansion: it should
> be in curly braces for Yocto.
>
Ah yes I was ignoring it all along thinking it is meta code but if it is
literally coded like this then that is the issue really
>
Thanks Daniel for your input.
Yes I tried and it works to find the patch now. It should be in curly braces.
I am wondering why it couldn't be identified by checking the environment
FILESEXTRAPATHS. Not matter round braces or curly braces are used, the value of
this variable keeps the same as be
crane@Ubuntu2204:~/yocto-pi/sources/meta-farview/recipes-bsp/bootfiles$ ls
files rpi-config_git.bbappend
crane@Ubuntu2204:~/yocto-pi/sources/meta-farview/recipes-bsp/bootfiles$ ls
files/
0001-disable-bluetooth-and-enable-uart0.patch rpi-cmdline.patch
rpi-config.patch
crane@Ubuntu2204:~/yocto
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/
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 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-disabl
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-dis
this looks good. So now what kind of error do you see. You might want
to check the build tree of this recipe and see if the patch is applied
in S
On Mon, Aug 7, 2023 at 7:36 PM Crane wrote:
>
> The recipe append name I used is rpi-config_git.bbappend.
> It is placed in meta-custom/recipes-bsp/boo
The recipe append name I used is rpi-config_git.bbappend.
It is placed in meta-custom/recipes-bsp/bootfiles/
The layer conf of the custom layer is like this:
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "$
On Mon, Aug 7, 2023 at 6:50 PM Crane wrote:
>
> Thanks Raj for your quick reply.
>
> For config.txt, the recipe I am referring to is rpi-config_git.bb in
> meta-respberrypi layer. This is the one I am testing now.
>
> Further on, I will add recipe appends for rpi-cmdline.bb.
> To change /etc/init
Thanks Raj for your quick reply.
For config.txt, the recipe I am referring to is rpi-config_git.bb in
meta-respberrypi layer. This is the one I am testing now.
Further on, I will add recipe appends for rpi-cmdline.bb.
To change /etc/inittab, I still need to find which recipe to append.
Thanks!
On Mon, Aug 7, 2023 at 6:29 PM Crane wrote:
>
> Hello,
>
> I would like to write a .bbappend for config.txt, cmdline.txt and
> /etc/inittab in my custom layer to make some changes.
>
> The recipe append for config.txt is created like this:
> FILESEXTRAPATHS:prepend := "$(THISDIR)/files:"
> SRC_UR
Hello,
I would like to write a .bbappend for config.txt, cmdline.txt and /etc/inittab
in my custom layer to make some changes.
The recipe append for config.txt is created like this:
FILESEXTRAPATHS:prepend := "$(THISDIR)/files:"
SRC_URI += "file://rpi-config.patch"
The paths of the recipe and p
17 matches
Mail list logo