-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit "patches" directory #207
Conversation
This adds a directory for us to store patches we need to apply during build -- I've copied the "no CBQ" patch we've already been applying, and a new "sha1_process_block64_shaNI.patch" which applies a patch for our new non-x86 build failures. I've also added a README to the new patches directory to make it clear what types of patches are appropriate/acceptable (perhaps more accurately, why almost all patches are *not* acceptable). This changes the build context for our rootfs builds to be the root of the repository so we don't have to muddy our template applying code with which patches to copy and can instead maintain that in the template itself (and skip the entire "patch applying" block of code when there are no patches to apply).
/.patches/no-cbq.patch \ | ||
/.patches/sha1_process_block64_shaNI.patch \ |
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.
The explicit /
prefix here is not my typical style, but was an intentional choice to try and make it more clear that these come from the root of the repository, not the directory of Dockerfile.builder
-- thoughts on that justification are welcome!
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.
I don't have a better alternative, and it seems reasonable, so LGTM.
Changes: - docker-library/busybox@80253da: Merge pull request docker-library/busybox#207 from infosiftr/patches - docker-library/busybox@b1b77da: Merge pull request docker-library/busybox#208 from infosiftr/1.35-leftovers - docker-library/busybox@dc42a7a: Remove some 1.35.x leftovers - docker-library/busybox@6db9646: Add explicit "patches" directory - docker-library/busybox@3aa7243: Merge pull request docker-library/busybox#206 from infosiftr/1.37.0 - docker-library/busybox@f7c1280: Update metadata for amd64 - docker-library/busybox@349fb1c: Update to 1.37.0, buildroot 2024.08 - docker-library/busybox@baf678c: Update metadata for s390x - docker-library/busybox@39b9ca7: Update metadata for ppc64le - docker-library/busybox@dd52a09: Update metadata for mips64le - docker-library/busybox@a2ea348: Update metadata for i386 - docker-library/busybox@e70731d: Update metadata for arm64v8 - docker-library/busybox@a8a0a32: Update metadata for arm32v7 - docker-library/busybox@87d6fdf: Update metadata for arm32v6 - docker-library/busybox@f771196: Update metadata for arm32v5 - docker-library/busybox@bf65195: Merge pull request docker-library/busybox#205 from infosiftr/buildroot-2024.05.3 - docker-library/busybox@6b8f2c7: Update metadata for amd64
Changes: - docker-library/busybox@e41a239: Update metadata for s390x - docker-library/busybox@2ad4c4f: Update metadata for ppc64le - docker-library/busybox@e258905: Update metadata for mips64le - docker-library/busybox@d1f66b2: Update metadata for i386 - docker-library/busybox@13e1415: Update metadata for arm64v8 - docker-library/busybox@943b07b: Update metadata for arm32v7 - docker-library/busybox@eb8b9a1: Update metadata for arm32v6 - docker-library/busybox@fa016ca: Update metadata for arm32v5 - docker-library/busybox@80253da: Merge pull request docker-library/busybox#207 from infosiftr/patches - docker-library/busybox@b1b77da: Merge pull request docker-library/busybox#208 from infosiftr/1.35-leftovers - docker-library/busybox@dc42a7a: Remove some 1.35.x leftovers - docker-library/busybox@6db9646: Add explicit "patches" directory - docker-library/busybox@3aa7243: Merge pull request docker-library/busybox#206 from infosiftr/1.37.0 - docker-library/busybox@f7c1280: Update metadata for amd64 - docker-library/busybox@349fb1c: Update to 1.37.0, buildroot 2024.08 - docker-library/busybox@baf678c: Update metadata for s390x - docker-library/busybox@39b9ca7: Update metadata for ppc64le - docker-library/busybox@dd52a09: Update metadata for mips64le - docker-library/busybox@a2ea348: Update metadata for i386 - docker-library/busybox@e70731d: Update metadata for arm64v8 - docker-library/busybox@a8a0a32: Update metadata for arm32v7 - docker-library/busybox@87d6fdf: Update metadata for arm32v6 - docker-library/busybox@f771196: Update metadata for arm32v5 - docker-library/busybox@bf65195: Merge pull request docker-library/busybox#205 from infosiftr/buildroot-2024.05.3 - docker-library/busybox@6b8f2c7: Update metadata for amd64
Changes: - docker-library/busybox@e41a239: Update metadata for s390x - docker-library/busybox@2ad4c4f: Update metadata for ppc64le - docker-library/busybox@e258905: Update metadata for mips64le - docker-library/busybox@d1f66b2: Update metadata for i386 - docker-library/busybox@13e1415: Update metadata for arm64v8 - docker-library/busybox@943b07b: Update metadata for arm32v7 - docker-library/busybox@eb8b9a1: Update metadata for arm32v6 - docker-library/busybox@fa016ca: Update metadata for arm32v5 - docker-library/busybox@80253da: Merge pull request docker-library/busybox#207 from infosiftr/patches - docker-library/busybox@b1b77da: Merge pull request docker-library/busybox#208 from infosiftr/1.35-leftovers - docker-library/busybox@dc42a7a: Remove some 1.35.x leftovers - docker-library/busybox@6db9646: Add explicit "patches" directory - docker-library/busybox@3aa7243: Merge pull request docker-library/busybox#206 from infosiftr/1.37.0 - docker-library/busybox@f7c1280: Update metadata for amd64 - docker-library/busybox@349fb1c: Update to 1.37.0, buildroot 2024.08 - docker-library/busybox@baf678c: Update metadata for s390x - docker-library/busybox@39b9ca7: Update metadata for ppc64le - docker-library/busybox@dd52a09: Update metadata for mips64le - docker-library/busybox@a2ea348: Update metadata for i386 - docker-library/busybox@e70731d: Update metadata for arm64v8 - docker-library/busybox@a8a0a32: Update metadata for arm32v7 - docker-library/busybox@87d6fdf: Update metadata for arm32v6 - docker-library/busybox@f771196: Update metadata for arm32v5 - docker-library/busybox@bf65195: Merge pull request docker-library/busybox#205 from infosiftr/buildroot-2024.05.3 - docker-library/busybox@6b8f2c7: Update metadata for amd64
This adds a directory for us to store patches we need to apply during build -- I've copied the "no CBQ" patch we've already been applying, and a new "sha1_process_block64_shaNI.patch" which applies a patch for our new non-x86 build failures (#206 (comment)).
I've also added a README to the new patches directory to make it clear what types of patches are appropriate/acceptable (perhaps more accurately, why almost all patches are not acceptable).
This changes the build context for our rootfs builds to be the root of the repository so we don't have to muddy our template applying code with which patches to copy and can instead maintain that in the template itself (and skip the entire "patch applying" block of code when there are no patches to apply).