summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"