Skip to content

Commit d84e4f4

Browse files
bors[bot]japaric
andauthored
Merge #498
498: bump linux-image version to fix CI r=reitermarkus a=japaric the Dockerfiles try to use linux-image-4.19.0-10 which no longer exists in the debian package repository; this is making CI fail: https://dev.azure.com/rust-embedded/cross/_build/results?buildId=772&view=logs&j=e6deedce-f53c-5dcc-524e-14349f140ffd&t=9e60ab89-47e0-5dc9-e657-a2fbb695cbf9&l=6521 this PR updates the package version (revision?) to linux-image-4.19.0-**11** Co-authored-by: Jorge Aparicio <[email protected]>
2 parents 8df1f8c + 39107c0 commit d84e4f4

8 files changed

+26
-24
lines changed

docker/Dockerfile.aarch64-linux-android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh

docker/Dockerfile.arm-linux-androideabi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh

docker/Dockerfile.armv7-linux-androideabi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh

docker/Dockerfile.i686-linux-android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh

docker/Dockerfile.x86_64-linux-android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh

docker/android-ndk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ main() {
3030
pushd "${td}"
3131
curl --retry 3 -sSfL "${NDK_URL}" -O
3232
unzip -q android-ndk-*.zip
33+
rm android-ndk-*.zip
3334
pushd android-ndk-*
3435
./build/tools/make_standalone_toolchain.py \
3536
--install-dir /android-ndk \

docker/android-system.sh

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ main() {
1717
g++-multilib
1818
make
1919
python
20+
python3
2021
)
2122

2223
# fake java and javac, it is not necessary for what we build, but the build
@@ -55,32 +56,32 @@ EOF
5556

5657
# this is the minimum set of modules that are need to build bionic
5758
# this was created by trial and error
58-
./repo init -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1
59-
./repo sync -c bionic
60-
./repo sync -c build
61-
./repo sync -c external/compiler-rt
62-
./repo sync -c external/jemalloc
63-
./repo sync -c external/libcxx
64-
./repo sync -c external/libcxxabi
65-
./repo sync -c external/libselinux
66-
./repo sync -c external/mksh
67-
./repo sync -c external/openssl
68-
./repo sync -c external/stlport
69-
./repo sync -c prebuilts/clang/linux-x86/host/3.5
70-
./repo sync -c system/core
59+
python3 ./repo init -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1
60+
python3 ./repo sync -c bionic
61+
python3 ./repo sync -c build
62+
python3 ./repo sync -c external/compiler-rt
63+
python3 ./repo sync -c external/jemalloc
64+
python3 ./repo sync -c external/libcxx
65+
python3 ./repo sync -c external/libcxxabi
66+
python3 ./repo sync -c external/libselinux
67+
python3 ./repo sync -c external/mksh
68+
python3 ./repo sync -c external/openssl
69+
python3 ./repo sync -c external/stlport
70+
python3 ./repo sync -c prebuilts/clang/linux-x86/host/3.5
71+
python3 ./repo sync -c system/core
7172
case "${arch}" in
7273
arm)
73-
./repo sync prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8
74+
python3 ./repo sync prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8
7475
;;
7576
arm64)
76-
./repo sync prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8
77-
./repo sync prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
77+
python3 ./repo sync prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8
78+
python3 ./repo sync prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
7879
;;
7980
x86)
80-
./repo sync prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8
81+
python3 ./repo sync prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8
8182
;;
8283
x86_64)
83-
./repo sync prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8
84+
python3 ./repo sync prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8
8485
;;
8586
esac
8687

docker/linux-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -euo pipefail
66
main() {
77
# arch in the rust target
88
local arch="${1}" \
9-
kversion=4.19.0-10
9+
kversion=4.19.0-11
1010

1111
local debsource="deb http://http.debian.net/debian/ buster main"
1212
debsource="${debsource}\ndeb http://security.debian.org/ buster/updates main"

0 commit comments

Comments
 (0)