You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: gen_compile.sh
+64-15
Original file line number
Diff line number
Diff line change
@@ -821,30 +821,33 @@ compile_unionfs_fuse() {
821
821
}
822
822
823
823
compile_iscsi() {
824
-
if [ -f"${ISCSI_BINCACHE}" ]
824
+
compile_iscsi_isns
825
+
826
+
if [[ -f"${ISCSI_BINCACHE}"&&"${ISCSI_BINCACHE}"-nt"${ISCSI_ISNS_BINCACHE}" ]]
825
827
then
826
-
print_info 1 "$(getIndent 3)iSCSI: Using cache"
828
+
print_info 1 "$(getIndent 3)iscsistart: Using cache"
827
829
else
828
830
[ !-f"${ISCSI_SRCTAR}" ] &&
829
-
gen_die "Could not find iSCSI source tarball: ${ISCSI_SRCTAR}. Please place it there, or place another version, changing /etc/genkernel.conf as necessary!"
831
+
gen_die "Could not find open-scsi source tarball: ${ISCSI_SRCTAR}. Please place it there, or place another version, changing /etc/genkernel.conf as necessary!"
print_info 1 "$(getIndent 3)open-isns: >> Using cache"
886
+
else
887
+
[ -f"${ISCSI_ISNS_SRCTAR}" ] ||
888
+
gen_die "Could not find open-isns source tarball: ${ISCSI_ISNS_SRCTAR}! Please place it there, or place another version, changing /etc/genkernel.conf as necessary!"
889
+
cd"${TEMP}"
890
+
rm -rf ${ISCSI_ISNS_DIR}> /dev/null
891
+
/bin/tar -xpf ${ISCSI_ISNS_SRCTAR}||
892
+
gen_die 'Could not extract open-isns source tarball!'
893
+
[ -d"${ISCSI_ISNS_DIR}" ] ||
894
+
gen_die "open-isns directory ${ISCSI_ISNS_DIR} is invalid!"
0 commit comments