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:
Rolf Neugebauer 2017-08-20 10:46:28 +01:00
parent ca35c06723
commit 72ed2b3a06
3 changed files with 1 additions and 2 deletions

View File

@ -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}; \