diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-06-30 00:10:02 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-06-30 00:10:02 +0100 |
commit | 63461d385776e56ce92b5030afc9184560adbc34 (patch) | |
tree | 6e5b2952360763d847ab4d1547d74480c672429a | |
parent | Squid patch nolonger required (diff) | |
download | patches-63461d385776e56ce92b5030afc9184560adbc34.tar.bz2 patches-63461d385776e56ce92b5030afc9184560adbc34.tar.xz patches-63461d385776e56ce92b5030afc9184560adbc34.zip |
Fix genkernel missing cd with --no-install
-rw-r--r-- | sys-kernel/genkernel-next/missing-no-install-cd.patch | 21 |
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 + } + |