Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to 9.1.1, switch to new debian package and bin naming scheme #2

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/external_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
echo "> External trigger running off of master branch. To disable this trigger, add \`qemu-static_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
EXT_RELEASE=$(echo 9.0.2+ds-1~bpo12+1)
EXT_RELEASE=$(echo 9.1.1+ds-2~bpo12+1)
echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM debian:bookworm AS buildstage

ARG QEMU_VERSION="9.0.2+ds-1~bpo12+1"
ARG QEMU_VERSION="9.1.1+ds-2~bpo12+1"

RUN \
echo "**** install build deps ****" && \
Expand All @@ -17,8 +17,8 @@ RUN \
/build-out/usr/bin \
/tmp/qemu && \
curl -o \
/tmp/qemu.deb -L \
"http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_${QEMU_VERSION}_amd64.deb" && \
/tmp/qemu.deb -L \
"http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user_${QEMU_VERSION}_amd64.deb" && \
cd /tmp && \
dpkg-deb -R \
qemu.deb \
Expand All @@ -27,7 +27,7 @@ RUN \
/tmp/qemu/usr/bin/* \
/build-out/qemu && \
curl -o \
/build-out/usr/bin/qemu-binfmt-conf -L \
/build-out/usr/bin/qemu-binfmt-conf -L \
"https://raw.githubusercontent.com/qemu/qemu/refs/heads/master/scripts/qemu-binfmt-conf.sh" && \
chmod +x /build-out/usr/bin/qemu-binfmt-conf

Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM debian:bookworm AS buildstage

ARG QEMU_VERSION="9.0.2+ds-1~bpo12+1"
ARG QEMU_VERSION="9.1.1+ds-2~bpo12+1"

RUN \
echo "**** install build deps ****" && \
Expand All @@ -17,8 +17,8 @@ RUN \
/build-out/usr/bin \
/tmp/qemu && \
curl -o \
/tmp/qemu.deb -L \
"http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_${QEMU_VERSION}_arm64.deb" && \
/tmp/qemu.deb -L \
"http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user_${QEMU_VERSION}_arm64.deb" && \
cd /tmp && \
dpkg-deb -R \
qemu.deb \
Expand All @@ -27,7 +27,7 @@ RUN \
/tmp/qemu/usr/bin/* \
/build-out/qemu && \
curl -o \
/build-out/usr/bin/qemu-binfmt-conf -L \
/build-out/usr/bin/qemu-binfmt-conf -L \
"https://raw.githubusercontent.com/qemu/qemu/refs/heads/master/scripts/qemu-binfmt-conf.sh" && \
chmod +x /build-out/usr/bin/qemu-binfmt-conf

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: ''' echo 9.0.2+ds-1~bpo12+1 ''',
script: ''' echo 9.1.1+ds-2~bpo12+1 ''',
returnStdout: true).trim()
env.RELEASE_LINK = 'custom_command'
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ docker run --rm -it \
```
## Versions

* **07.11.24:** - Upgrade to 9.1.1, switch to new debian package and bin naming scheme.
* **14.10.24:** - Initial release.
2 changes: 1 addition & 1 deletion jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# jenkins variables
project_name: docker-qemu-static
external_type: na
custom_version_command: "echo 9.0.2+ds-1~bpo12+1"
custom_version_command: "echo 9.1.1+ds-2~bpo12+1"
release_type: stable
release_tag: latest
ls_branch: master
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ full_custom_readme: |
```
## Versions

* **07.11.24:** - Upgrade to 9.1.1, switch to new debian package and bin naming scheme.
* **14.10.24:** - Initial release.
{%- endraw %}
2 changes: 1 addition & 1 deletion root/register
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ if [ "${1}" = "--reset" ]; then
find /proc/sys/fs/binfmt_misc -type f -name 'qemu-*' -exec sh -c 'echo -1 > {}' \;
fi

exec qemu-binfmt-conf --qemu-suffix "-static" --qemu-path "/qemu" $@
exec qemu-binfmt-conf --qemu-path "/qemu" $@