Bugzilla – Attachment 94526 Details for
Bug 195049
simplify kernel.rpm detection on powerpc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
ppc-kernel.patch
ppc-kernel.patch (text/plain), 1.48 KB, created by
Olaf Hering
on 2006-07-26 09:50:59 UTC
(
hide
)
Description:
ppc-kernel.patch
Filename:
MIME Type:
Creator:
Olaf Hering
Created:
2006-07-26 09:50:59 UTC
Size:
1.48 KB
patch
obsolete
>Index: yast2/library/system/src/Kernel.ycp >=================================================================== >--- yast2/library/system/src/Kernel.ycp (revision 31996) >+++ yast2/library/system/src/Kernel.ycp (working copy) >@@ -406,48 +406,10 @@ global void SetCmdLine (string new_cmd_l > { > binary = "vmlinux"; > >- if (Arch::board_mac_new () || Arch::board_mac_old ()) >- { >- if (Arch::board_compatible () == "MacRISC4") >- { >- // G5 and newer >- kernel_packages = ["kernel-ppc64"]; >- } >- else >- { >- // MacRISC, MacRISC2, MacRISC3 >- kernel_packages = ["kernel-default"]; >- } >- } >- else if (Arch::board_chrp ()) >- { >- string chrp_cpu = ""; >- list<map> cpuProbe = (list<map>) SCR::Read(.probe.cpu); >- foreach (map cpuProbe_map, cpuProbe, { >- chrp_cpu = cpuProbe_map["model"]:""; >- chrp_cpu = tolower (chrp_cpu); >- }); >- >- // booting a 32bit kernel on POWER3 >- if ((issubstring (chrp_cpu, "power3") && Arch::ppc32 ()) >- || Arch::ppc64 ()) >- { >- kernel_packages = ["kernel-ppc64"]; >- } >- else >- { >- kernel_packages = ["kernel-default"]; >- } >- } >- else if (Arch::board_iseries ()) >+ if (Arch::board_iseries ()) > { > kernel_packages = ["kernel-iseries64"]; > } >- else if (Arch::board_prep ()) >- { >- kernel_packages = ["kernel-default"]; >- } >- // if hwinfo could not match the board type, use the cpu type. > else if (Arch::ppc32 ()) > { > kernel_packages = ["kernel-default"];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 195049
: 94526