Am 17.08.22 um 11:10 schrieb Frieder Schrempf:
> Hi Steve,
> 
> Am 21.09.21 um 14:15 schrieb Richard Purdie via lists.openembedded.org:
>> Currently, if you change the site files, nothing rebuilds since they are
>> not accounted for in task checksums. They could/should be through the
>> file-checksums task flag. We need to cache all the files looked for,
>> whether the exist or not so that if they do exist and didn't,
>> the checksum also changes.
>>
>> This gets complicated by the need to clean out hardcoded build
>> paths from the variable and that other layers can have site files.
>>
>> This patch adds this functionality. A new variable, SITEINFO_PATHVARS
>> is added which controls which substitutions to make on the file-checksum
>> values to remove the hardcoded paths. Layers adding site files will need
>> to set this to a variable that has the layer path in it and is excluded
>> from task hashes (COREBASE is the one the core layer uses).
>>
>> This patch will cause yocto-check-layer to fail for some layers
>> where site files are added yet the layer isn't a machine specific layer.
>> This is arguable correct since these additional site files apply to
>> all recipes and things from a layer like core could be changed by such
>> changes so it is right they should rebuild. There is a determinism issue
>> potentially there if not. meta-openembedded does have some such references
>> but looking at them they should move to core or likely just be removed as
>> most look obsolete anyway.
>>
>> [YOCTO #13729]
>>
>> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
> 
> Do you think we could have this patch backported to Dunfell?
> 
> When I'm building the SDK with "bitbake -c populated_sdk image" I'm
> getting errors like below. Cherry-picking this patch solves the issue.

Forget about it. I was too fast with my conclusions. The errors just
reappeared even with the patch applied.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169476): 
https://lists.openembedded.org/g/openembedded-core/message/169476
Mute This Topic: https://lists.openembedded.org/mt/85763843/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to