Skip to content

Commit f2b78b5

Browse files
Sergei Kuvakinlafin
authored andcommitted
qemu 5.2.0-1
1 parent 4013b29 commit f2b78b5

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

.github/workflows/actions.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,17 @@ jobs:
77
- uses: actions/checkout@v2
88
- name: Set variables
99
run: |
10-
echo "RELEASE=${RELEASE}" >> $GITHUB_ENV
11-
echo "BUILD=${BUILD}" >> $GITHUB_ENV
12-
echo "DOCKER_SERVER=${DOCKER_SERVER}" >> $GITHUB_ENV
13-
echo "PACKAGE_URI=${PACKAGE_URI}" >> $GITHUB_ENV
14-
echo "VERSION=$RELEASE-$(echo $BUILD | sed 's/\..*//')" >> $GITHUB_ENV
15-
echo "DOCKER_REPO=$DOCKER_SERVER/$GITHUB_REPOSITORY" >> $GITHUB_ENV
10+
echo "VERSION=${VERSION}" >> $GITHUB_ENV
11+
echo "ORIGIN_VERSION=${ORIGIN_VERSION}" >> $GITHUB_ENV
12+
echo "DOCKER_REPO=${DOCKER_REPO}/$GITHUB_REPOSITORY" >> $GITHUB_ENV
1613
env:
17-
RELEASE: 5.1.0
18-
BUILD: 8.fc33
19-
# See qemu-user-static's RPM spec file on Fedora to check the new version.
20-
# https://src.fedoraproject.org/rpms/qemu/blob/master/f/qemu.spec
21-
DOCKER_SERVER: docker.io
22-
PACKAGE_URI: https://kojipkgs.fedoraproject.org/packages/qemu
14+
VERSION: 5.2.0-1
15+
ORIGIN_VERSION: 5.2+dfsg-2
16+
DOCKER_REPO: docker.io
2317
- name: Build releases
2418
run: |
25-
sudo apt install rpm2cpio cpio
26-
PACKAGE_URI=$PACKAGE_URI/$RELEASE/$BUILD/x86_64/qemu-user-static-$RELEASE-$BUILD.x86_64.rpm
27-
wget --content-disposition $PACKAGE_URI
28-
rpm2cpio $(basename "$PACKAGE_URI") | cpio -dimv
19+
wget --content-disposition http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_${ORIGIN_VERSION}_amd64.deb
20+
dpkg-deb -R qemu-user-static_*.deb .
2921
./generate_tarballs.sh
3022
- name: Publish releases
3123
if: github.ref == 'refs/heads/master'

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ shift $((OPTIND-1))
2828
[ "$1" = "--" ] && shift
2929

3030
from_arch="x86_64"
31-
to_archs="aarch64 aarch64_be alpha armeb arm cris hppa i386 m68k microblazeel microblaze mips64el mips64 mipsel mipsn32el mipsn32 mips nios2 or1k ppc64abi32 ppc64le ppc64 ppc riscv32 riscv64 s390x sh4eb sh4 sparc32plus sparc64 sparc tilegx x86_64 xtensaeb xtensa"
31+
to_archs="aarch64 aarch64_be alpha arm armeb cris hppa i386 m68k microblaze microblazeel mips mips64 mips64el mipsel mipsn32 mipsn32el nios2 or1k ppc ppc64 ppc64le riscv32 riscv64 s390x sh4 sh4eb sparc sparc32plus sparc64 x86_64 xtensa xtensaeb"
3232
# For casual test
3333
# to_archs="aarch64"
3434

0 commit comments

Comments
 (0)