diff options
author | Simon Rettberg | 2022-09-28 12:15:31 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-09-28 12:15:31 +0200 |
commit | 0b73523bd40778a283380c3cf7fe0a2b5794868e (patch) | |
tree | 678af9dbd1bfcaa90c78c4d8c010aa482d1e7061 | |
parent | kernel config: Enable zstd compression for kernel + initrd (diff) | |
download | mltk-0b73523bd40778a283380c3cf7fe0a2b5794868e.tar.gz mltk-0b73523bd40778a283380c3cf7fe0a2b5794868e.tar.xz mltk-0b73523bd40778a283380c3cf7fe0a2b5794868e.zip |
kernel.inc: Copy .config to build dir
-rw-r--r-- | core/includes/kernel.inc | 3 |
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" |