On Mon, 2024-08-05 at 14:52 +0000, Pedro Silva Ferreira wrote: > Without the fix you can check that with: > Set on local.conf : INHERIT += "buildhistory" > Run: bitbake -c cleansstate base-passwd && bitbake base-passwd > > Taking a look on buildhistory you will see that for base-passwd > packages there is no files-in-package.txt > > Reason: > On log.do_package, theres a log,"DEBUG: Shell function > buildhistory_list_pkg_files finished", which indicates that the main > shell function for the `files-in-package.txt` was triggered an so the > function expects that the recipe package folder exists it will skip > `files-in-package.txt` creation. > > On `packageData` task, there a python function `write_pkghistory` > that runs for all packages from a recipe package and this function is > protected to create the folder if this doesn’t exists. > When writing `latest` we are protecting it from failing to write down > the file but for `files-in-package.txt` we don’t.
Thanks for the details. Can you confirm this happens with current master please? I tested it and couldn't reproduce. I'm wondering if this was fixed by: https://git.yoctoproject.org/poky/commit/?id=2feb9e20e464088c377fadb9344da28100662130 Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203018): https://lists.openembedded.org/g/openembedded-core/message/203018 Mute This Topic: https://lists.openembedded.org/mt/107685168/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
