]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
buildhistory: Fix intermittent package file list creation
authorPedro Ferreira <pedro.silva.ferreira@criticaltechworks.com>
Tue, 6 Aug 2024 12:59:54 +0000 (13:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Aug 2024 14:46:49 +0000 (15:46 +0100)
commit8de9b8c1e199896b9a7bc5ed64967c6bfbf84bea
tree6c7dcf6136c93a53e28d6fdf2dd2cd9a979dbd5b
parent0dc792a62df6b6ceec4c897c41d13238e829af61
buildhistory: Fix intermittent package file list creation

The directory that buildhistory_list_pkg_files writes to during do_package
is created by do_packagedata so a clean buildhistory doesn't have
files-in-package written during the first build since packagedata happens
after do_package.

Ensure the output package folder is created to avoid missing
files-in-package.txt files.

Also it ensures that in case of `find` fails we leave with
a hard error instead of hiding the error on the for loop.

Signed-off-by: Pedro Silva Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass