-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1144 from tlaurion/fix_busybox_zlib_current_build
Fix current builds (zlib 1.2.11 cannot be downloaded, busybox patch not applied)
- Loading branch information
Showing
2 changed files
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
303dc26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will have to push #1125.
To fix cache problems in CI causing coreboot 4.11 builds to fail, explained there: #1125 (comment)
Cache has been cleared by changing CACHE_VERSION project environment variable under CircleCI.
Reminder of the cause of the problem:
We change here a patch, so the bigger cache (whole cache) cannot be applied. So we get to the second cache, containing musl-cross and build/coreboot-* versions. But the package directory was not part of the cache, so as part of the current build system, the packages are redownloaded and the standard logic applied: extracting+patching. But here, coreboot 4.1 is the only version containing a file that is added per patches. So when CircleCI tries to use its cache, it fails trying to create a file already present in the destination directory and fails waiting user input to instruct on the good thing to do (revert patch?).
Solution is to add the packages directory in all cache so the global Makefile recipe can be applied without problem (not redownload the packages if existing, not reextracting it if extracted and not patching the destination directory since it is considered already done.)
303dc26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will kick this build once CircleCI caches are rebuilt properly (having digests being consistent...)
Next time a new patch is added, the second cache (packages+musl-cross-make+coreboot) will be useable.