mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-25 15:12:23 +00:00
kernel: Update to 4.19.1/4.18.17/4.14.79
Also fix the boolean expression for 'perf' in the Dockerfile. Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
@@ -177,9 +177,8 @@ RUN printf "KERNEL_SOURCE=${KERNEL_SOURCE}\n" > /out/kernel-source-info
|
||||
# perf
|
||||
# Only build perf for the latest LTS and the latest stable kernel.
|
||||
# There were intermittent breakage for 4.4.x and 4.9.x on some arches
|
||||
# Skip arm64 for now as perf for 4.19 fails to build.
|
||||
RUN if [ \( "${KERNEL_SERIES}" == "4.14.x" || "${KERNEL_SERIES}" == "4.19.x" \) \
|
||||
&& $(uname -m) != aarch64 ]; then \
|
||||
# Skip arm64 for now as perf for 4.19.x fails to build.
|
||||
RUN if ( [ "${KERNEL_SERIES}" = 4.14.x ] || [ "${KERNEL_SERIES}" = 4.19.x ] ) && [ $(uname -m) != aarch64 ]; then \
|
||||
mkdir -p /build/perf && \
|
||||
make -C tools/perf LDFLAGS=-static O=/build/perf && \
|
||||
strip /build/perf/perf && \
|
||||
|
Reference in New Issue
Block a user