Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[submodule "tests/leviathan"]
path = tests/leviathan
url = https://github.com/balena-os/leviathan.git
branch = master
[submodule "tests/suites/os/tests/secureboot/kernel-module-build"]
path = tests/suites/os/tests/secureboot/kernel-module-build
url = https://github.com/balena-os/kernel-module-build
branch = master
[submodule "tests/suites/os/tests/extra-firmware/kernel-module-build"]
path = tests/suites/os/tests/extra-firmware/kernel-module-build
url = https://github.com/balena-os/kernel-module-build
branch = master
21 changes: 20 additions & 1 deletion meta-balena-common/recipes-kernel/linux/files/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
FROM balenalib/intel-nuc-debian:bullseye-20230328
FROM debian:bullseye-20260824

# bullseye LTS ended 2026-08-31 and packages are being deleted from the live
# mirrors while the index still advertises them, so apt 404s mid-build.
# archive.debian.org is no use here: it is frozen at point release 11.11, whose
# libc6-dev/libssl-dev pin exact runtime versions older than the ones this image
# already has installed, so they cannot be co-installed.
# The snapshot archive matching this image tag is consistent by construction,
# because the image was built from it. The base image ships both sets of lines
# in /etc/apt/sources.list, so flipping which are commented takes the timestamp
# from the image and stays correct when the base tag is bumped. The grep fails
# the build if a future base image stops shipping snapshot lines.
# Snapshot Release files are historical, so their Valid-Until has passed.
# See meta-balena#3938.
RUN sed -i -E \
-e 's|^deb +http://deb\.debian\.org|# &|' \
-e 's|^# *(deb +http://snapshot\.debian\.org)|\1|' \
/etc/apt/sources.list \
&& grep -q '^deb http://snapshot\.debian\.org' /etc/apt/sources.list \
&& printf 'Acquire::Check-Valid-Until "false";\nAcquire::Retries "3";\n' > /etc/apt/apt.conf.d/99snapshot

# Install dependencies
RUN apt-get update && apt-get install -y curl wget build-essential libelf-dev bc flex libssl-dev bison gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu python3-minimal
Expand Down
Loading