summaryrefslogtreecommitdiff
path: root/sys-kernel/genkernel-next
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/genkernel-next')
-rw-r--r--sys-kernel/genkernel-next/missing-no-install-cd.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-kernel/genkernel-next/missing-no-install-cd.patch b/sys-kernel/genkernel-next/missing-no-install-cd.patch
new file mode 100644
index 0000000..96b2e04
--- /dev/null
+++ b/sys-kernel/genkernel-next/missing-no-install-cd.patch
@@ -0,0 +1,21 @@
+diff --git a/gen_compile.sh b/gen_compile.sh
+index 69eb414..60ed2a7 100755
+--- a/gen_compile.sh
++++ b/gen_compile.sh
+@@ -334,6 +334,8 @@ compile_kernel() {
+ "kernelz-${KV}"
+ fi
+ else
++ local curdir=$(pwd)
++ cd ${KERNEL_OUTPUTDIR}
+ cp "${tmp_kernel_binary}" "${TMPDIR}/kernel-${KNAME}-${ARCH}-${KV}${KAPPENDNAME}" ||
+ gen_die "Could not copy the kernel binary to ${TMPDIR}!"
+ cp "System.map" "${TMPDIR}/System.map-${KNAME}-${ARCH}-${KV}${KAPPENDNAME}" ||
+@@ -343,6 +345,7 @@ compile_kernel() {
+ cp "${tmp_kernel_binary2}" "${TMPDIR}/kernelz-${KV}" ||
+ gen_die "Could not copy the kernelz binary to ${TMPDIR}!"
+ fi
++ cd "${curdir}"
+ fi
+ }
+