mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
kernel: Rename kernel_config-4.x.x to kernel_config-4.x.x-x86_64
Consistently arch suffixes for kernel config. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
ca35c06723
commit
72ed2b3a06
@ -64,13 +64,12 @@ COPY kernel_config.debug /linux/debug_config
|
|||||||
RUN case $(uname -m) in \
|
RUN case $(uname -m) in \
|
||||||
x86_64) \
|
x86_64) \
|
||||||
KERNEL_DEF_CONF=/linux/arch/x86/configs/x86_64_defconfig; \
|
KERNEL_DEF_CONF=/linux/arch/x86/configs/x86_64_defconfig; \
|
||||||
cp /linux/kernel_config-${KERNEL_SERIES} ${KERNEL_DEF_CONF}; \
|
|
||||||
;; \
|
;; \
|
||||||
aarch64) \
|
aarch64) \
|
||||||
KERNEL_DEF_CONF=/linux/arch/arm64/configs/defconfig; \
|
KERNEL_DEF_CONF=/linux/arch/arm64/configs/defconfig; \
|
||||||
cp /linux/kernel_config-${KERNEL_SERIES}-aarch64 ${KERNEL_DEF_CONF}; \
|
|
||||||
;; \
|
;; \
|
||||||
esac && \
|
esac && \
|
||||||
|
cp /linux/kernel_config-${KERNEL_SERIES}-$(uname -m) ${KERNEL_DEF_CONF}; \
|
||||||
if [ -n "${DEBUG}" ]; then \
|
if [ -n "${DEBUG}" ]; then \
|
||||||
sed -i 's/CONFIG_PANIC_ON_OOPS=y/# CONFIG_PANIC_ON_OOPS is not set/' ${KERNEL_DEF_CONF}; \
|
sed -i 's/CONFIG_PANIC_ON_OOPS=y/# CONFIG_PANIC_ON_OOPS is not set/' ${KERNEL_DEF_CONF}; \
|
||||||
cat /linux/debug_config >> ${KERNEL_DEF_CONF}; \
|
cat /linux/debug_config >> ${KERNEL_DEF_CONF}; \
|
||||||
|
Loading…
Reference in New Issue
Block a user