Skip to content

Commit

Permalink
Merge pull request linuxkit#3520 from rn/kern-up
Browse files Browse the repository at this point in the history
Update kernels, re-enable -perf, disable -rt kernels, bump wireguard
  • Loading branch information
rn authored May 9, 2020
2 parents 3ae7fb4 + 13dd8a7 commit 5843427
Show file tree
Hide file tree
Showing 142 changed files with 194 additions and 198 deletions.
2 changes: 1 addition & 1 deletion examples/aws.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/azure.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/cadvisor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/dm-crypt-loop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/dm-crypt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/docker-for-mac.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is an example for building the open source components of Docker for Mac
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/vpnkit-expose-port:3fd88b7025065843792484b1ad83ddd5c4b28684 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
Expand Down
2 changes: 1 addition & 1 deletion examples/docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/getty.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/hetzner.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: console=ttyS1
ucode: intel-ucode.cpio
init:
Expand Down
2 changes: 1 addition & 1 deletion examples/hostmount-writeable-overlay.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/influxdb-os.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/logging.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Simple example of using an external logging service
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/node_exporter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/openstack.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/packet.arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# for arm64 then the 'ucode' line in the kernel section can be left
# out.
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyAMA0"
ucode: ""
onboot:
Expand Down
2 changes: 1 addition & 1 deletion examples/packet.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: console=ttyS1
ucode: intel-ucode.cpio
init:
Expand Down
2 changes: 1 addition & 1 deletion examples/redis-os.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Minimal YAML to run a redis server (used at DockerCon'17)
# connect: nc localhost 6379
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/scaleway.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0 root=/dev/vda"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/sshd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/static-ip.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/swap.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/tpm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/vmware.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/vpnkit-forwarder.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/vsudd-containerd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/vultr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=ttyS0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
2 changes: 1 addition & 1 deletion examples/wireguard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:5.4.30
image: linuxkit/kernel:5.4.39
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
Expand Down
6 changes: 3 additions & 3 deletions kernel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 AS kernel-build
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS kernel-build
RUN apk add \
argp-standalone \
automake \
Expand Down Expand Up @@ -38,8 +38,8 @@ ARG KERNEL_SERIES
ARG EXTRA
ARG DEBUG

ENV WIREGUARD_VERSION=1.0.20200401
ENV WIREGUARD_SHA256="7dfb4a8315e1d6ae406ff32d01c496175df558dd65968a19e5222d02c7cfb77a"
ENV WIREGUARD_VERSION=1.0.20200506
ENV WIREGUARD_SHA256="98a99f2b825a82d57a7213e666f1ee4f7cc02bddb09bf4908b4b09447a8f121e"
ENV WIREGUARD_URL=https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${WIREGUARD_VERSION}.tar.xz

# We copy the entire directory. This copies some unneeded files, but
Expand Down
4 changes: 2 additions & 2 deletions kernel/Dockerfile.bcc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG IMAGE
FROM ${IMAGE} as ksrc

FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 AS build
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
RUN apk update && apk upgrade -a && \
apk add --no-cache \
argp-standalone \
Expand Down Expand Up @@ -102,7 +102,7 @@ RUN mkdir -p /out/usr/bin && \
RUN mkdir -p /out/usr/local/share/ && \
cp -a /usr/local/share/lua /out/usr/local/share/

FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 as mirror
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 as mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk update && apk upgrade -a && \
apk add --no-cache --initdb -p /out \
Expand Down
2 changes: 1 addition & 1 deletion kernel/Dockerfile.kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 AS kernel-build
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS kernel-build
RUN apk add \
argp-standalone \
bison \
Expand Down
6 changes: 4 additions & 2 deletions kernel/Dockerfile.perf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ARG IMAGE
FROM ${IMAGE} AS ksrc

FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 AS build
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
RUN apk add \
argp-standalone \
bash \
Expand All @@ -20,11 +20,13 @@ RUN apk add \
findutils \
mpc1-dev \
mpfr-dev \
python3 \
sed \
tar \
xz \
xz-dev \
zlib-dev
zlib-dev \
zlib-static

COPY --from=ksrc /linux.tar.xz /kernel-headers.tar /
RUN tar xf linux.tar.xz && \
Expand Down
2 changes: 1 addition & 1 deletion kernel/Dockerfile.zfs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG IMAGE
FROM ${IMAGE} AS ksrc
FROM linuxkit/alpine:bc528cf9d4065d2e09aa44ff76909b94cfe8d867 AS build
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
RUN apk add \
attr-dev \
autoconf \
Expand Down
25 changes: 12 additions & 13 deletions kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ show-tags: show-tag_$(2)$(3)$(4)
# with DOCKER_CONTENT_TRUST explicitly set to 0

# Only build perf on x86 and latest LTS and stable kernels
# Temporarily disable perf build: https://github.com/linuxkit/linuxkit/issues/3498
ifeq ($(ARCH),disabled)
ifeq ($(ARCH),x86_64)
ifeq ($(2), $(filter $(2),5.6.x 5.4.x))
build_perf_$(2)$(3)$(4): build_$(2)$(3)$(4)
docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)$(4)-$(TAG)$(SUFFIX) || \
Expand Down Expand Up @@ -253,21 +252,21 @@ endef
# Debug targets only for latest stable and LTS stable
#
ifeq ($(ARCH),x86_64)
$(eval $(call kernel,5.6.2,5.6.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.30,5.4.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.30,5.4.x,,-dbg))
$(eval $(call kernel,5.4.28,5.4.x,-rt,))
$(eval $(call kernel,4.19.114,4.19.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,4.14.175,4.14.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.6.11,5.6.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.39,5.4.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.39,5.4.x,,-dbg))
#$(eval $(call kernel,5.4.28,5.4.x,-rt,))
$(eval $(call kernel,4.19.121,4.19.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,4.14.179,4.14.x,$(EXTRA),$(DEBUG)))

else ifeq ($(ARCH),aarch64)
$(eval $(call kernel,5.6.2,5.6.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.30,5.4.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.28,5.4.x,-rt,))
$(eval $(call kernel,5.6.11,5.6.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.39,5.4.x,$(EXTRA),$(DEBUG)))
#$(eval $(call kernel,5.4.28,5.4.x,-rt,))

else ifeq ($(ARCH),s390x)
$(eval $(call kernel,5.6.2,5.6.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.30,5.4.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.6.11,5.6.x,$(EXTRA),$(DEBUG)))
$(eval $(call kernel,5.4.39,5.4.x,$(EXTRA),$(DEBUG)))
endif

# Target for kernel config
Expand Down
2 changes: 1 addition & 1 deletion kernel/config-4.14.x-x86_64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.175 Kernel Configuration
# Linux/x86 4.14.179 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
Expand Down
2 changes: 1 addition & 1 deletion kernel/config-4.19.x-x86_64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.19.114 Kernel Configuration
# Linux/x86 4.19.121 Kernel Configuration
#

#
Expand Down
4 changes: 2 additions & 2 deletions kernel/config-5.4.x-aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.4.30 Kernel Configuration
# Linux/arm64 5.4.39 Kernel Configuration
#

#
Expand Down Expand Up @@ -314,6 +314,7 @@ CONFIG_ARM64_ERRATUM_1024718=y
CONFIG_ARM64_ERRATUM_1165522=y
CONFIG_ARM64_ERRATUM_1286807=y
CONFIG_ARM64_ERRATUM_1463225=y
CONFIG_ARM64_ERRATUM_1542419=y
CONFIG_CAVIUM_ERRATUM_22375=y
CONFIG_CAVIUM_ERRATUM_23154=y
CONFIG_CAVIUM_ERRATUM_27456=y
Expand Down Expand Up @@ -4703,7 +4704,6 @@ CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_SPLIT=y
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_BTF is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
Expand Down
3 changes: 1 addition & 2 deletions kernel/config-5.4.x-s390x
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/s390 5.4.30 Kernel Configuration
# Linux/s390 5.4.39 Kernel Configuration
#

#
Expand Down Expand Up @@ -3482,7 +3482,6 @@ CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_SPLIT=y
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_BTF is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
Expand Down
3 changes: 1 addition & 2 deletions kernel/config-5.4.x-x86_64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.4.30 Kernel Configuration
# Linux/x86 5.4.39 Kernel Configuration
#

#
Expand Down Expand Up @@ -4390,7 +4390,6 @@ CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_SPLIT=y
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_BTF is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
Expand Down
Loading

0 comments on commit 5843427

Please sign in to comment.