Skip to content

Commit

Permalink
qemu 5.2.0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Kuvakin authored and lafin committed Dec 28, 2020
1 parent 4013b29 commit f2b78b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,17 @@ jobs:
- uses: actions/checkout@v2
- name: Set variables
run: |
echo "RELEASE=${RELEASE}" >> $GITHUB_ENV
echo "BUILD=${BUILD}" >> $GITHUB_ENV
echo "DOCKER_SERVER=${DOCKER_SERVER}" >> $GITHUB_ENV
echo "PACKAGE_URI=${PACKAGE_URI}" >> $GITHUB_ENV
echo "VERSION=$RELEASE-$(echo $BUILD | sed 's/\..*//')" >> $GITHUB_ENV
echo "DOCKER_REPO=$DOCKER_SERVER/$GITHUB_REPOSITORY" >> $GITHUB_ENV
echo "VERSION=${VERSION}" >> $GITHUB_ENV
echo "ORIGIN_VERSION=${ORIGIN_VERSION}" >> $GITHUB_ENV
echo "DOCKER_REPO=${DOCKER_REPO}/$GITHUB_REPOSITORY" >> $GITHUB_ENV
env:
RELEASE: 5.1.0
BUILD: 8.fc33
# See qemu-user-static's RPM spec file on Fedora to check the new version.
# https://src.fedoraproject.org/rpms/qemu/blob/master/f/qemu.spec
DOCKER_SERVER: docker.io
PACKAGE_URI: https://kojipkgs.fedoraproject.org/packages/qemu
VERSION: 5.2.0-1
ORIGIN_VERSION: 5.2+dfsg-2
DOCKER_REPO: docker.io
- name: Build releases
run: |
sudo apt install rpm2cpio cpio
PACKAGE_URI=$PACKAGE_URI/$RELEASE/$BUILD/x86_64/qemu-user-static-$RELEASE-$BUILD.x86_64.rpm
wget --content-disposition $PACKAGE_URI
rpm2cpio $(basename "$PACKAGE_URI") | cpio -dimv
wget --content-disposition http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_${ORIGIN_VERSION}_amd64.deb
dpkg-deb -R qemu-user-static_*.deb .
./generate_tarballs.sh
- name: Publish releases
if: github.ref == 'refs/heads/master'
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ shift $((OPTIND-1))
[ "$1" = "--" ] && shift

from_arch="x86_64"
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"
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"
# For casual test
# to_archs="aarch64"

Expand Down

0 comments on commit f2b78b5

Please sign in to comment.