Skip to content

Commit

Permalink
build, refactor: compress qemu binary file.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Feb 12, 2023
1 parent 5ed783e commit 6b53042
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file removed dockerfiles/bin/qemu-loongarch64
Binary file not shown.
4 changes: 2 additions & 2 deletions dockerfiles/linux-build-env.loong64
Expand Up @@ -9,8 +9,8 @@ RUN curl -o loongarch64-linux-gnu.tar.xz --retry 5 -LO http://ftp.loongnix.cn/to

RUN mv /usr/loongson-gnu-toolchain-8.3.novec-x86_64-loongarch64-linux-gnu-rc1.1 /usr/cross-tools

COPY bin/qemu-loongarch64 /usr/cross-tools
RUN chmod 775 /usr/cross-tools/qemu-loongarch64
COPY qemu-loongarch64.tar.gz .
RUN tar -C /usr/cross-tools -xvf qemu-loongarch64.tar.gz && rm qemu-loongarch64.tar.gz

# RUN update-binfmts --enable
# RUN update-binfmts --install qemu-loongarch64 /usr/cross-tools/qemu-loongarch64 \
Expand Down
Binary file added dockerfiles/qemu-loongarch64.tar.gz
Binary file not shown.

0 comments on commit 6b53042

Please sign in to comment.