Skip to content

Commit

Permalink
Fix paths again (project-chip#37304)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 authored Jan 29, 2025
1 parent bb4ba89 commit 2ca3a49
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ RUN set -x \
# TODO: Remove experimental solution to create the sysroot file in cross-compile image
&& echo 'experimental/matter/sysroot/ubuntu-24.04-aarch64 version:build-2025.01.28' > ensure_file.txt \
&& ./depot_tools/cipd ensure -ensure-file ensure_file.txt -root ./ \
&& tar xfvJ ubuntu-24.04.1-aarch64-sysroot.tar.xz \
&& rm -rf /opt/ubuntu-24.04.1-aarch64-sysroot/usr/lib/firmware \
&& rm -rf /opt/ubuntu-24.04.1-aarch64-sysroot/usr/lib/git-core \
&& rm -rf /opt/ubuntu-24.04.1-aarch64-sysroot/usr/lib/modules \
&& rm -rf /opt/ubuntu-24.04.1-aarch64-sysroot/lib/firmware \
&& rm -rf /opt/ubuntu-24.04.1-aarch64-sysroot/lib/git-core \
&& rm -rf /opt/ubuntu-24.04.1-aarch64-sysroot/lib/modules \
&& rm -rf /opt/ubuntu-24.04-aarch64-sysroot/usr/lib/firmware \
&& rm -rf /opt/ubuntu-24.04-aarch64-sysroot/usr/lib/git-core \
&& rm -rf /opt/ubuntu-24.04-aarch64-sysroot/usr/lib/modules \
&& rm -rf /opt/ubuntu-24.04-aarch64-sysroot/lib/firmware \
&& rm -rf /opt/ubuntu-24.04-aarch64-sysroot/lib/git-core \
&& rm -rf /opt/ubuntu-24.04-aarch64-sysroot/lib/modules \
&& : # last line

FROM ghcr.io/project-chip/chip-build:${VERSION}
LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip

COPY --from=build /opt/ubuntu-24.04.1-aarch64-sysroot/ /opt/ubuntu-24.04.1-aarch64-sysroot/
COPY --from=build /opt/ubuntu-24.04-aarch64-sysroot/ /opt/ubuntu-24.04-aarch64-sysroot/

ENV SYSROOT_AARCH64=/opt/ubuntu-24.04.1-aarch64-sysroot
ENV SYSROOT_AARCH64=/opt/ubuntu-24.04-aarch64-sysroot

0 comments on commit 2ca3a49

Please sign in to comment.