On Thursday 13 May 2010 10:16:22 am Dennis Gilmore wrote:
I want to apply the following patch to make ppc64 a valid arch.
I noticed that there were no el6 maps for ppc64 el-6 we are shipping ppc64, i386 and x86_64 this is because RHEL switched the base userland from 32 bit to 64 bit
Dennis
diff --git a/modules/maps/files/parse9.pl b/modules/maps/files/parse9.pl index 5d35e01..2cfd65d 100755 --- a/modules/maps/files/parse9.pl +++ b/modules/maps/files/parse9.pl @@ -47,6 +47,8 @@ sub valid_arch { return 1; } elsif("$arch" eq "ppc") { return 1;
- } elsif("$arch" eq "ppc64") {
- return 1; } elsif("$arch" eq "ia64") { return 1; } elsif("$arch" eq "sparc") {
i want to actually make the change diff --git a/modules/maps/files/parse9.pl b/modules/maps/files/parse9.pl index 5d35e01..eb8602e 100755 --- a/modules/maps/files/parse9.pl +++ b/modules/maps/files/parse9.pl @@ -47,6 +47,8 @@ sub valid_arch { return 1; } elsif("$arch" eq "ppc") { return 1; + } elsif("$arch" eq "ppc64") { + return 1; } elsif("$arch" eq "ia64") { return 1; } elsif("$arch" eq "sparc") { @@ -59,6 +61,10 @@ sub valid_arch { return 1; } elsif("$arch" eq "arm") { return 1; + } elsif("$arch" eq "s390") { + return 1; + } elsif("$arch" eq "s390x") { + return 1; } else { return 0; }
the s390 arches are missing also