Skip to content

Commit 0f1941e

Browse files
Merge #375
375: Make `linux-image.sh` easier to maintain. r=therealprof a=reitermarkus Co-authored-by: Markus Reiter <me@reitermark.us>
2 parents 4249b8b + 43de95b commit 0f1941e

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

docker/cmake.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44
set -euo pipefail
55

66
main() {
7-
local version=3.16.2
7+
local version=3.16.4
88

99
local dependencies=(
1010
curl

docker/linux-image.sh

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ main() {
5454
# there is no stable port
5555
arch=ppc64
5656
# https://packages.debian.org/en/sid/linux-image-powerpc64
57-
kernel=5.4.0-4-powerpc64
57+
kernel='*-powerpc64'
5858
debsource="deb http://ftp.ports.debian.org/debian-ports unstable main"
5959
debsource="$debsource\ndeb http://ftp.ports.debian.org/debian-ports unreleased main"
6060
# sid version of dropbear requires these dependencies
@@ -71,7 +71,7 @@ main() {
7171
sparc64)
7272
# there is no stable port
7373
# https://packages.debian.org/en/sid/linux-image-sparc64
74-
kernel=5.4.0-4-sparc64
74+
kernel='*-sparc64'
7575
debsource="deb http://ftp.ports.debian.org/debian-ports unstable main"
7676
debsource="$debsource\ndeb http://ftp.ports.debian.org/debian-ports unreleased main"
7777
# sid version of dropbear requires these dependencies
@@ -111,14 +111,11 @@ main() {
111111
fi
112112
dpkg --add-architecture $arch || echo "foreign-architecture $arch" > /etc/dpkg/dpkg.cfg.d/multiarch
113113

114-
# Add debian keys
115-
apt-key adv --recv-key --keyserver keyserver.ubuntu.com EF0F382A1A7B6500
116-
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 9D6D8F6BC857C906
117-
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553
118-
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010
119-
apt-key adv --recv-key --keyserver keyserver.ubuntu.com CBF8D6FD518E17E1
120-
curl -sL https://www.ports.debian.org/archive_2020.key | apt-key add -
121-
curl -sL https://www.ports.debian.org/archive_2021.key | apt-key add -
114+
# Add Debian keys.
115+
curl -sL https://ftp-master.debian.org/keys/archive-key-{7.0,8,9,10}.asc | apt-key add -
116+
curl -sL https://ftp-master.debian.org/keys/archive-key-{8,9,10}-security.asc | apt-key add -
117+
curl -sL https://ftp-master.debian.org/keys/release-{7,8,9,10}.asc | apt-key add -
118+
curl -sL https://www.ports.debian.org/archive_{2020,2021}.key | apt-key add -
122119
apt-get update
123120

124121
mkdir -p -m 777 /qemu/$arch

docker/qemu.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ set -x
44
set -euo pipefail
55

66
main() {
7-
local version=4.1.0
7+
local version=4.2.0
88

9-
# Qemu versions 3.10.0 and above break 32-bit float conversions
9+
# Qemu versions 3.1.0 and above break 32-bit float conversions
1010
# on powerpc, powerpc64, and powerpc64le. Last known working version
1111
# is 3.0.1.
1212
# Upstream Issue:
@@ -32,7 +32,7 @@ main() {
3232
make
3333
patch
3434
pkg-config
35-
python
35+
python3
3636
zlib1g-dev
3737
libcap-dev
3838
libattr1-dev

0 commit comments

Comments
 (0)