All of lore.kernel.org
 help / color / mirror / Atom feed
* patching .bbclass files?
@ 2017-01-30  2:00 Takashi Matsuzawa
  2017-01-30  6:38 ` Takashi Matsuzawa
  0 siblings, 1 reply; 2+ messages in thread
From: Takashi Matsuzawa @ 2017-01-30  2:00 UTC (permalink / raw)
  To: yocto

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

Hello Yocto
I am curious if there is a better way of doing this manually every time I re-synch to Yocto based BSP.

Say, I have a patch or customization I want to try on .bbclass files (instead of .bb or .bbappend, or the source files that are fetched.)
The reason for this is sometimes I want to try the latest fix to the BSP while building old versino of my image, or debbuging image by modifying the build system files.

I think by using .bbappend files I can try modification to the .bb file behaviros, but it does not for .bbclass files.
I could add slightly modified xxx.bbclass to my own layer so that it may override what is available in poky/meta/..., but it may mean I just duplicate a lot of bitbake related files in my layer for just a few lines of changes.

'repo' having a feature copying files when repositories are synched.  This may work for me?

Ideally, the poky and other remote gits have branches or releases that have the patches I want to try, or I should be using the latest releases that should include meaningful fixes already.
But it is not possible always.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patching .bbclass files?
  2017-01-30  2:00 patching .bbclass files? Takashi Matsuzawa
@ 2017-01-30  6:38 ` Takashi Matsuzawa
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Matsuzawa @ 2017-01-30  6:38 UTC (permalink / raw)
  To: yocto

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

Well, doing repo -diff and apply produced patch when I newly repo sync could work.


https://groups.google.com/forum/#!topic/repo-discuss/43juvD1qGIQ


________________________________
From: Takashi Matsuzawa
Sent: Monday, January 30, 2017 11:00 AM
To: yocto@yoctoproject.org
Subject: patching .bbclass files?


Hello Yocto
I am curious if there is a better way of doing this manually every time I re-synch to Yocto based BSP.

Say, I have a patch or customization I want to try on .bbclass files (instead of .bb or .bbappend, or the source files that are fetched.)
The reason for this is sometimes I want to try the latest fix to the BSP while building old versino of my image, or debbuging image by modifying the build system files.

I think by using .bbappend files I can try modification to the .bb file behaviros, but it does not for .bbclass files.
I could add slightly modified xxx.bbclass to my own layer so that it may override what is available in poky/meta/..., but it may mean I just duplicate a lot of bitbake related files in my layer for just a few lines of changes.

'repo' having a feature copying files when repositories are synched.  This may work for me?

Ideally, the poky and other remote gits have branches or releases that have the patches I want to try, or I should be using the latest releases that should include meaningful fixes already.
But it is not possible always.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-30  6:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30  2:00 patching .bbclass files? Takashi Matsuzawa
2017-01-30  6:38 ` Takashi Matsuzawa

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.