summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2014-04-05 18:35:01 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2014-04-05 18:35:01 -0700
commitb845016361b81ec43a4d84a77077ba9390c23a0e (patch)
tree4fd90c43cb109ae050fb91c34ac0274a4379a145
parentHelp users find the right section. (diff)
downloadgenkernel-b845016361b81ec43a4d84a77077ba9390c23a0e.tar.gz
genkernel-b845016361b81ec43a4d84a77077ba9390c23a0e.tar.bz2
genkernel-b845016361b81ec43a4d84a77077ba9390c23a0e.zip
Fix install with kernel outputdir.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xgen_compile.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index aab27165..f10aa04d 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -342,6 +342,9 @@ compile_kernel() {
then
gen_die "Cannot locate kernel binary"
fi
+ # if source != outputdir, we need this:
+ tmp_kernel_binary="${KERNEL_OUTPUTDIR}"/"${tmp_kernel_binary}"
+ tmp_kernel_binary2="${KERNEL_OUTPUTDIR}"/"${tmp_kernel_binary2}"
if isTrue "${CMD_INSTALL}"
then