Hi Alex, As requested, i created a set of small patches with the changes and unit tests to support these changes. Also i tested against the unit tests mentioned to be sure that everything keeps running fine. I decided not to copy paste the content of the patches here otherwise the message would get huge since we already discussed before the content.
Patch 1 - fixes race condition detected while executing functions registered on `SSTATEPOSTINSTFUNCS` Patch 2 - fixes `find` usage, avoiding hiding errors on the command execution and creates buildhistory output folder if doesnt exist. Patch 3 - fixes usage of 2 features combined, `BUILDHISTORY_PRESERVE` and `BUILDHISTORY_RESET`, restoring files to buildhistory main folder. Patch 4 - adds unit tests to validate files-in-package.txt generation and feature combination from patch 3. I hope this goes towards your vision.
0001-sstate-fixing-possible-race-codition.patch
Description: Binary data
0002-buildhistory-files-in-package.txt-missing.patch
Description: Binary data
0003-buildhistory-preserve-files-while-buildhitory-reset-.patch
Description: Binary data
0004-buildhistory-unit-tests-for-files-in-package.txt.patch
Description: Binary data
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#199995): https://lists.openembedded.org/g/openembedded-core/message/199995 Mute This Topic: https://lists.openembedded.org/mt/87258776/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
