mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-26 03:12:37 +00:00
kernel: Adjust s390x defconfig location
With 5.2.x the location moved to the configs subdirectory to be more in line with other architectures. Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
@@ -90,6 +90,7 @@ RUN mkdir -p /out/src
|
||||
RUN tar cJf /out/src/linux.tar.xz /linux
|
||||
|
||||
# Kernel config
|
||||
# The s390x defconfig moved with 5.2.x
|
||||
RUN case $(uname -m) in \
|
||||
x86_64) \
|
||||
KERNEL_DEF_CONF=/linux/arch/x86/configs/x86_64_defconfig; \
|
||||
@@ -98,7 +99,11 @@ RUN case $(uname -m) in \
|
||||
KERNEL_DEF_CONF=/linux/arch/arm64/configs/defconfig; \
|
||||
;; \
|
||||
s390x) \
|
||||
KERNEL_DEF_CONF=/linux/arch/s390/defconfig; \
|
||||
if [ -f /linux/arch/s390/defconfig ]; then \
|
||||
KERNEL_DEF_CONF=/linux/arch/s390/defconfig; \
|
||||
else \
|
||||
KERNEL_DEF_CONF=/linux/arch/s390/configs/defconfig; \
|
||||
fi; \
|
||||
;; \
|
||||
esac && \
|
||||
cp /config-${KERNEL_SERIES}-$(uname -m) ${KERNEL_DEF_CONF}; \
|
||||
|
Reference in New Issue
Block a user