diff options
author | 2014-06-21 19:08:34 -0700 | |
---|---|---|
committer | 2014-06-21 19:08:34 -0700 | |
commit | 76e801c8db8487c2ada3af906327c6466c8108d2 (patch) | |
tree | 024d399c254d0d7a1d1457bf370ca18d0e846ebc | |
parent | Bump version to 3.4.49.2 (diff) | |
download | genkernel-76e801c8db8487c2ada3af906327c6466c8108d2.tar.gz genkernel-76e801c8db8487c2ada3af906327c6466c8108d2.tar.bz2 genkernel-76e801c8db8487c2ada3af906327c6466c8108d2.zip |
Make gen_minkernpackage use the same kernel naming as the normal path (kerncache).
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | gen_package.sh | 4 |
1 files 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 |