Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Sun, 22 Jun 2014 02:08:50
Message-Id: 1403402914.76e801c8db8487c2ada3af906327c6466c8108d2.robbat2@gentoo
1 commit: 76e801c8db8487c2ada3af906327c6466c8108d2
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 22 02:08:34 2014 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 22 02:08:34 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=76e801c8
7
8 Make gen_minkernpackage use the same kernel naming as the normal path (kerncache).
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 ---
13 gen_package.sh | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/gen_package.sh b/gen_package.sh
17 index 520d771..fa155b9 100755
18 --- a/gen_package.sh
19 +++ b/gen_package.sh
20 @@ -21,11 +21,11 @@ gen_minkernpackage() {
21 gen_die "Cannot locate kernel binary"
22 fi
23 cd "${KERNEL_OUTPUTDIR}"
24 - cp "${tmp_kernel_binary}" "${TEMP}/minkernpackage/kernel-${KV}" || gen_die 'Could not the copy kernel for the min kernel package!'
25 + cp "${tmp_kernel_binary}" "${TEMP}/minkernpackage/kernel-${ARCH}-${KV}" || gen_die 'Could not the copy kernel for the min kernel package!'
26 cp ".config" "${TEMP}/minkernpackage/config-${ARCH}-${KV}" || gen_die 'Could not the copy kernel config for the min kernel package!'
27 if isTrue "${GENZIMAGE}"
28 then
29 - cp "${tmp_kernel_binary2}" "${TEMP}/minkernpackage/kernelz-${KV}" || gen_die "Could not copy the kernelz for the min kernel package"
30 + cp "${tmp_kernel_binary2}" "${TEMP}/minkernpackage/kernelz-${ARCH}-${KV}" || gen_die "Could not copy the kernelz for the min kernel package"
31 fi
32 fi