[RFC v2] Dockerfile: use nasm from distfiles.macports.org

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Apr 21 11:11:41 CEST 2025


nasm.us is currently not available.
Download nasm from distfiles.macports.org.
The build script for coreboot verifies the SHA1 checksum.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
v2:
	correct sed command
---
 tools/docker/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 772e980d0d1..f314e38dfe7 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -286,6 +286,7 @@ RUN mkdir /tmp/trace && \
 # Build coreboot
 RUN wget -O - https://coreboot.org/releases/coreboot-24.08.tar.xz | tar -C /tmp -xJ && \
     cd /tmp/coreboot-24.08 && \
+    sed -i 's|www.nasm.us\/pub\/nasm\/releasebuilds\/\${NASM_VERSION}|distfiles.macports.org\/nasm|' util/crossgcc/buildgcc && \
     make crossgcc-i386 CPUS=$(nproc) && \
     make -C payloads/coreinfo olddefconfig && \
     make -C payloads/coreinfo && \
-- 
2.48.1



More information about the U-Boot mailing list