commit: 76e801c8db8487c2ada3af906327c6466c8108d2
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 22 02:08:34 2014 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 02:08:34 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=76e801c8
Make gen_minkernpackage use the same kernel naming as the normal path
(kerncache).
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
---
gen_package.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gen_package.sh b/gen_package.sh
index 520d771..fa155b9 100755
--- a/gen_package.sh
+++ b/gen_package.sh
@@ -21,11 +21,11 @@ gen_minkernpackage() {
gen_die "Cannot locate kernel binary"
fi
cd "${KERNEL_OUTPUTDIR}"
- cp "${tmp_kernel_binary}" "${TEMP}/minkernpackage/kernel-${KV}"
|| gen_die 'Could not the copy kernel for the min kernel package!'
+ cp "${tmp_kernel_binary}"
"${TEMP}/minkernpackage/kernel-${ARCH}-${KV}" || gen_die 'Could not the copy
kernel for the min kernel package!'
cp ".config" "${TEMP}/minkernpackage/config-${ARCH}-${KV}" ||
gen_die 'Could not the copy kernel config for the min kernel package!'
if isTrue "${GENZIMAGE}"
then
- cp "${tmp_kernel_binary2}"
"${TEMP}/minkernpackage/kernelz-${KV}" || gen_die "Could not copy the kernelz
for the min kernel package"
+ cp "${tmp_kernel_binary2}"
"${TEMP}/minkernpackage/kernelz-${ARCH}-${KV}" || gen_die "Could not copy the
kernelz for the min kernel package"
fi
fi