Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulchen-Panther committed Feb 10, 2025
1 parent f5f9a5e commit e07f867
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qt5_6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
merge:
name: 👷 Merge and 🚀 Push
needs: build_and_push
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
TAG: ${{ inputs.qt_version == '6' && format('{0}-qt6', inputs.codename) || inputs.codename }}

Expand Down
7 changes: 2 additions & 5 deletions debian-armv6
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ LABEL maintainer="Hyperion Project <[email protected]>" \
ARG DEBIAN_FRONTEND=noninteractive

# update
RUN apt-get update && apt-get -y upgrade
RUN apt-get update

# install qt5 or qt6 (qt6 is not available on debian buster/bullseye)
RUN if [ "$SUITE" = "bookworm" ] && [ "$QT_VERSION" = "6" ]; then \
Expand Down Expand Up @@ -79,8 +79,5 @@ RUN curl -kL https://github.com/balena-io/qemu/releases/download/v7.0.0%2Bbalena
# set qemu exec flag
RUN chmod +x /usr/bin/qemu-static

# cleanup
RUN apt-get clean -q -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*

# set entrypoint
ENTRYPOINT [ "/usr/bin/qemu-static" ]
ENTRYPOINT [ "/usr/bin/qemu-static", "/usr/bin/env", "QEMU_EXECVE=1" ]
9 changes: 6 additions & 3 deletions fedora
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,13 @@ RUN rpmdev-setuptree

# download qemu and set exec flag
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
curl -kL https://github.com/balena-io/qemu/releases/download/v7.0.0%2Bbalena1/qemu-7.0.0.balena1-aarch64.tar.gz | tar zxvf - -C . --strip-components 1 && mv qemu-aarch64-static /usr/bin/qemu-static && chmod +x /usr/bin/qemu-static; \
curl -kL https://github.com/balena-io/qemu/releases/download/v7.0.0%2Bbalena1/qemu-7.0.0.balena1-aarch64.tar.gz | tar zxvf - -C . --strip-components 1 && mv qemu-aarch64-static /usr/bin/qemu-static; \
else \
printf '#!/bin/bash\nexec "$@"' > /usr/bin/qemu-static && chmod +x /usr/bin/qemu-static; \
printf '#!/bin/bash\nexec "$@"' > /usr/bin/qemu-static; \
fi

# set qemu exec flag
RUN chmod +x /usr/bin/qemu-static

# set entrypoint
ENTRYPOINT [ "/usr/bin/qemu-static" ]
ENTRYPOINT [ "/usr/bin/qemu-static", "/usr/bin/env", "QEMU_EXECVE=1" ]
4 changes: 2 additions & 2 deletions ubuntu_debian
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ENV DEBEMAIL="[email protected]"
ARG DEBIAN_FRONTEND=noninteractive

# update
RUN apt-get update && apt-get -y upgrade
RUN apt-get update

# install qt5 or qt6 (qt6 is not available on ubuntu focal and debian buster)
# on debian bullseye add backports to install qt6
Expand Down Expand Up @@ -128,4 +128,4 @@ RUN chmod +x /usr/bin/qemu-static
RUN apt-get clean -q -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*

# set entrypoint
ENTRYPOINT [ "/usr/bin/qemu-static" ]
ENTRYPOINT [ "/usr/bin/qemu-static", "/usr/bin/env", "QEMU_EXECVE=1" ]

0 comments on commit e07f867

Please sign in to comment.