Gentoo Archives: gentoo-commits

From: Richard Yao <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:ryao commit in: /
Date: Mon, 03 Jun 2013 23:35:12
Message-Id: 1367497010.cbee01a7f960a0ea76ad8ee3b1377f67ba44ac92.ryao@gentoo
1 commit: cbee01a7f960a0ea76ad8ee3b1377f67ba44ac92
2 Author: Fabio Erculiani <lxnay <AT> sabayon <DOT> org>
3 AuthorDate: Thu May 2 12:16:50 2013 +0000
4 Commit: Richard Yao <ryao <AT> gentoo <DOT> org>
5 CommitDate: Thu May 2 12:16:50 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=cbee01a7
7
8 gen_compile: fix iscsi module path install, s/RELEASE/KV
9
10 ---
11 gen_compile.sh | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/gen_compile.sh b/gen_compile.sh
15 index ccc8b8d..aab2716 100755
16 --- a/gen_compile.sh
17 +++ b/gen_compile.sh
18 @@ -669,12 +669,12 @@ compile_iscsi() {
19 MAKE=${UTILS_MAKE} compile_generic "user" ""
20
21 # if kernel modules exist, copy them to initramfs, otherwise it will be compiled into the kernel
22 - mkdir -p "${TEMP}/initramfs-iscsi-temp/lib/modules/${RELEASE}/kernel/drivers/scsi/"
23 + mkdir -p "${TEMP}/initramfs-iscsi-temp/lib/modules/${KV}/kernel/drivers/scsi/"
24 for modname in iscsi_tcp libiscsi scsi_transport_iscsi
25 do
26 if [ -e "${CMD_KERNEL_DIR}/drivers/scsi/${modname}.ko" ]
27 then
28 - cp ${CMD_KERNEL_DIR}/drivers/scsi/${modname}.ko "${TEMP}/initramfs-iscsi-temp/lib/modules/${RELEASE}/kernel/drivers/scsi/"
29 + cp ${CMD_KERNEL_DIR}/drivers/scsi/${modname}.ko "${TEMP}/initramfs-iscsi-temp/lib/modules/${KV}/kernel/drivers/scsi/"
30 fi
31 done