contrib/build-env: fix Debian stretch Docker image for EOL mirrors - #1135
Open
gavin-Angry-Birds wants to merge 1 commit into
Open
Conversation
Author
|
Verified on WSL with the updated Dockerfile: docker image build succeeds, and MACHINE=kvm_x86_64 all recovery-iso produces onie-recovery-x86_64-kvm_x86_64-r0.iso after generating SB keys and self-signing shim. |
gavin-Angry-Birds
force-pushed
the
contrib/fix-stretch-docker-build-env
branch
from
August 2, 2026 13:41
83bd6e6 to
dae6fbb
Compare
Debian 9 stretch is EOL and official mirrors no longer work. Point apt at archive.debian.org, install missing build deps (gettext/autopoint/libelf-dev/locales/gnu-efi/libfile-slurp-perl), build efitools from source, and set UTF-8 locale required by the toolchain. Tested: docker build + make -j4 MACHINE=kvm_x86_64 all recovery-iso Signed-off-by: gavin-Angry-Birds <gavincodegk@gmail.com>
gavin-Angry-Birds
force-pushed
the
contrib/fix-stretch-docker-build-env
branch
from
August 2, 2026 13:48
dae6fbb to
54440a8
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
archive.debian.organd disable Valid-Until checksgettext,autopoint,libelf-dev,locales,gnupg2,monkeysphere,gnu-efi,libfile-slurp-perl)Test plan
docker build -t onie-build-env:pr-test .incontrib/build-envsucceeds./onie-encrypt.sh generate-all-keys+make shim+make shim-self-signmake -jN MACHINE=kvm_x86_64 all recovery-iso SHIM_PREBUILT_DIR=.../safe-placeonie-recovery-x86_64-kvm_x86_64-r0.iso