From d00c51bcf1ad8710e2b48787e14be59abfc2fdc4 Mon Sep 17 00:00:00 2001 From: Ben Cressey Date: Wed, 2 Oct 2024 05:16:38 +0000 Subject: [PATCH] twoliter: drop PATH override for debuginfo `find-debuginfo` overrides $PATH to prefer its own directory, so this wasn't working as expected. Drop this workaround to avoid conflating host and target tools, which can mask build logic errors in package specs. Signed-off-by: Ben Cressey --- twoliter/embedded/build.Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/twoliter/embedded/build.Dockerfile b/twoliter/embedded/build.Dockerfile index 1c85bbdc..0897d6de 100644 --- a/twoliter/embedded/build.Dockerfile +++ b/twoliter/embedded/build.Dockerfile @@ -104,9 +104,6 @@ RUN --mount=target=/host \ -exec cp {} ./rpmbuild/SOURCES/ \; && \ rm /bypass -# Ensure that the target binutils that `find-debuginfo.sh` uses are present in $PATH. -ENV PATH="/usr/${ARCH}-bottlerocket-linux-gnu/debuginfo/bin:${PATH}" - USER builder RUN --mount=source=.cargo,target=/home/builder/.cargo \ --mount=type=cache,target=/home/builder/.cache,from=cache,source=/cache \