Skip to content

Commit 00cd7f9

Browse files
committed
Run pipeline with qemu 4.1.0-1.fc31.
* We still use the fc31 version, though qemu 4.1.0-1.fc32 also exists on Fedora web site. Because it seems fc31 is more stable version than fc32. fc32 is very new. * Install rpm2cpio and cpio deb packages in bionic, to prevent the error "cpio: Malformed number" when extracting the RPM file.
1 parent 327d6f7 commit 00cd7f9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.travis.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@ addons:
66
config:
77
retries: true
88
update: true
9+
sources:
10+
# Install rpm2cpio (4.14.1+dfsg1-2) and
11+
# cpio (2.12+dfsg-6) packages for bionic,
12+
# the error "cpio: Malformed number" happens
13+
# for qemu-user-static-4.1.0-1.fc31.x86_64.rpm,
14+
# with rpm2cpio (4.12.0.1+dfsg1-3build3) and
15+
# cpio (2.11+dfsg-5ubuntu1) and rpm2cpio for xenial.
16+
# https://packages.ubuntu.com/bionic/cpio
17+
- sourceline: 'deb http://archive.ubuntu.com/ubuntu bionic main universe'
918
packages:
1019
- jq
1120
- rpm2cpio
1221
- cpio
1322
env:
1423
global:
1524
- MAJOR_VERSION=4
16-
- MINOR_VERSION=0
25+
- MINOR_VERSION=1
1726
- PATCH_VERSION=0
18-
- RELEASE_VERSION=4
27+
- RELEASE_VERSION=1
1928
- VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION-$RELEASE_VERSION
2029
# Container tag version string.
2130
# Set it here to give a flexibility of the value such as "X.Y".
@@ -29,7 +38,7 @@ env:
2938
# Container repository
3039
- DOCKER_REPO=$DOCKER_SERVER/multiarch/qemu-user-static
3140
# - DOCKER_REPO=$DOCKER_SERVER/your_username/qemu-user-static
32-
- PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/4.0.0/4.fc31/x86_64/qemu-user-static-4.0.0-4.fc31.x86_64.rpm"
41+
- PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/4.1.0/1.fc31/x86_64/qemu-user-static-4.1.0-1.fc31.x86_64.rpm"
3342
- PACKAGE_FILENAME=$(basename "$PACKAGE_URI")
3443
before_script:
3544
- wget --content-disposition $PACKAGE_URI

0 commit comments

Comments
 (0)