[ewg] [PARCH 1/3] Allow iser to be compiled under RHEL5.4
Moni Shoua
monis at Voltaire.COM
Sun Feb 21 07:38:30 PST 2010
Add kernel of RHEL5.4 to the list of supported kernels (nackport patches
were already submitted by Or Gerlitz) and break the dependency between iSER and
iSCSI. However, the script code that builds iSCSI modules and upgrades
open-iscsi userspace RPM is still there in case we need it in the future.
Patches are to the install script and build scripts and were split into three parts.
Signed-off-by: Moni Shoua <monis at voltaire.com>
---
--- install.pl.orig 2010-02-21 11:17:26.000000000 +0200
+++ install.pl 2010-02-21 13:00:36.000000000 +0200
@@ -1679,7 +1679,7 @@
# Iser
# if ($kernel =~ m/2.6.9-67|2.6.9-78|2.6.16.[0-9.]*-[0-9.]*-[A-Za-z0-9.]*|el5/) {
- if ($kernel =~ m/2.6.3[0-2]/) {
+ if ($kernel =~ m/2.6.3[0-2]|2.6.18-164/) {
$kernel_modules_info{'iser'}{'available'} = 1;
$packages_info{'open-iscsi-generic'}{'available'} = 1;
}
@@ -2769,17 +2769,6 @@
if ( $ans eq 'Y' or $ans eq 'y' ) {
$upgrade_open_iscsi = 1;
}
- else {
- print RED "Please uninstall $oiscsi_name before installing $PACKAGE with iSER support.", RESET "\n";
- exit 1;
- }
- }
- else {
- if (not $upgrade_open_iscsi) {
- print RED "Please uninstall $oiscsi_name before installing $PACKAGE with iSER support.", RESET "\n";
- print RED " Or put \"upgrade_open_iscsi=yes\" in the $config:", RESET "\n";
- exit 1;
- }
}
}
}
More information about the ewg
mailing list