summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
authorSimon Rettberg2022-09-28 12:15:31 +0200
committerSimon Rettberg2022-09-28 12:15:31 +0200
commit0b73523bd40778a283380c3cf7fe0a2b5794868e (patch)
tree678af9dbd1bfcaa90c78c4d8c010aa482d1e7061 /core/includes
parentkernel config: Enable zstd compression for kernel + initrd (diff)
downloadmltk-0b73523bd40778a283380c3cf7fe0a2b5794868e.tar.gz
mltk-0b73523bd40778a283380c3cf7fe0a2b5794868e.tar.xz
mltk-0b73523bd40778a283380c3cf7fe0a2b5794868e.zip
kernel.inc: Copy .config to build dir
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/kernel.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/includes/kernel.inc b/core/includes/kernel.inc
index 9d7ff839..a77f9bbc 100644
--- a/core/includes/kernel.inc
+++ b/core/includes/kernel.inc
@@ -213,7 +213,8 @@ copy_kernel () {
[ -d "${KERNEL_DIR}" ] || mkdir -p "${KERNEL_DIR}"
- cp "${ROOT_DIR}/tmp/work/kernel/build/kernel" "${KERNEL_DIR}" || perror "Could not copy '${ROOT_DIR}/tmp/work/kernel/build/kernel' to '${KERNEL_DIR}'"
+ cp "${ROOT_DIR}/tmp/work/kernel/build/kernel" "${KERNEL_DIR}/" || perror "Could not copy '${ROOT_DIR}/tmp/work/kernel/build/kernel' to '${KERNEL_DIR}'"
+ cp "${ROOT_DIR}/tmp/work/kernel/ksrc/.config" "${KERNEL_DIR}/config"
# kernel has 0600 perms since ubuntu 14.04, change that once we copied it
chmod +r "${KERNEL_DIR}/kernel"