mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
kernel: Print unified diff if kernel config does not match
After 'make oldconfig' we check that that the kernel config is as we expect and error if they don't. We used to print the default 'diff' output on a mismatch but a unified diff is easier to read. Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
bbb459c2ad
commit
5b2bdd3ef7
@ -112,7 +112,7 @@ RUN case $(uname -m) in \
|
||||
fi && \
|
||||
make defconfig && \
|
||||
make oldconfig && \
|
||||
if [ -z "${EXTRA}" ] && [ -z "${DEBUG}" ]; then diff .config ${KERNEL_DEF_CONF}; fi
|
||||
if [ -z "${EXTRA}" ] && [ -z "${DEBUG}" ]; then diff -u .config ${KERNEL_DEF_CONF}; fi
|
||||
|
||||
|
||||
# Kernel
|
||||
|
Loading…
Reference in New Issue
Block a user