On 12 Aug 2023, at 08:23, Jiliang Cai via lists.yoctoproject.org 
<[email protected]> wrote:
> 
> On Fri, Aug 11, 2023 at 12:47 AM, Ross Burton wrote:
> On 11 Aug 2023, at 03:21, Jiliang Cai via lists.yoctoproject.org 
> <[email protected]> wrote:
> I have a recipe abc_1.0.bb. It generates a txt contains all layers git commit
> ID into /etc. It is installed into image by IMAGE_INSTALL:append = " abc". If 
> you want a list of layers/SHAs in your image, look at the image-buildinfo 
> class. I use this bbclass, but it sometimes records inaccurate SHAs.
> For example, when I first bitbake based a dirty layer meta-aaa, the SHA works
> as expected, followed by a 'modified'. But when I submitted the meta-aaa
> modification and ran bitbake again, nothing happened, and the file /etc/build
> was not regenerated.
> Although meta-aaa is already clean at this time, the old SHA and 'modified' 
> are
> still displayed in the rootfs build file.

I suspect the problem is that you didn’t actually change the content of the 
files, so the image didn’t rebuild.

I’d call this a by-design quirk: if I was using image-buildinfo I wouldn’t want 
the image to rebuild just because I fixed a typo in a commit message.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60837): https://lists.yoctoproject.org/g/yocto/message/60837
Mute This Topic: https://lists.yoctoproject.org/mt/100677035/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to