Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149648 Details for
Bug 209284
ksdevice=bootif option broken
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to loader in RHEL-5 to handle BOOTIF args correctly
loader-BOOTIF.patch (text/plain), 1.24 KB, created by
David Cantrell
on 2007-03-08 22:07:27 UTC
(
hide
)
Description:
patch to loader in RHEL-5 to handle BOOTIF args correctly
Filename:
MIME Type:
Creator:
David Cantrell
Created:
2007-03-08 22:07:27 UTC
Size:
1.24 KB
patch
obsolete
>Index: loader2/loader.c >=================================================================== >RCS file: /usr/local/CVS/anaconda/loader2/loader.c,v >retrieving revision 1.221.4.8 >diff -u -p -r1.221.4.8 loader.c >--- loader2/loader.c 15 Jan 2007 20:13:12 -0000 1.221.4.8 >+++ loader2/loader.c 8 Mar 2007 22:03:35 -0000 >@@ -578,6 +578,7 @@ static void parseCmdLineFlags(struct loa > int argc; > int numExtraArgs = 0; > int i; >+ char *front; > > /* if we have any explicit cmdline (probably test mode), we don't want > * to parse /proc/cmdline */ >@@ -693,6 +694,17 @@ static void parseCmdLineFlags(struct loa > else if (!strncmp(argv[i], "BOOTIF=", 7)) { > /* +10 so that we skip over the leading 01- */ > loaderData->bootIf = strdup(argv[i] + 10); >+ >+ /* scan the BOOTIF value and replace '-' with ':' */ >+ front = loaderData->bootIf; >+ if (front) { >+ while (*front != '\0') { >+ if (*front == '-') >+ *front = ':'; >+ front++; >+ } >+ } >+ > loaderData->bootIf_set = 1; > } else if (!strncasecmp(argv[i], "dhcpclass=", 10)) { > loaderData->netCls = strdup(argv[i] + 10);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209284
: 149648 |
149701
|
149702
|
149703
|
149704
|
149705
|
149706
|
149707
|
149708
|
149709