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 290191 Details for
Bug 288371
[RHEL5.1]: ia64 pygrub parses elilo.conf incorrectly/incompletely
[?]
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]
Backport of upstream xen-unstable c/s 15690 for the elilo issue
xen-liloconf.patch (text/plain), 1.78 KB, created by
Chris Lalancette
on 2007-12-20 21:28:07 UTC
(
hide
)
Description:
Backport of upstream xen-unstable c/s 15690 for the elilo issue
Filename:
MIME Type:
Creator:
Chris Lalancette
Created:
2007-12-20 21:28:07 UTC
Size:
1.78 KB
patch
obsolete
>--- xen-3.1.0-src.orig/tools/pygrub/src/LiloConf.py 2007-12-20 14:52:23.000000000 -0500 >+++ xen-3.1.0-src/tools/pygrub/src/LiloConf.py 2007-12-20 14:55:40.000000000 -0500 >@@ -18,12 +18,13 @@ class LiloImage(object): > " initrd: %s\n" %(self.title, self.root, self.kernel, > self.args, self.initrd)) > def reset(self, lines, path): >- self._root = self._initrd = self._kernel = self._args = None >+ self._initrd = self._kernel = self._readonly = None >+ self._args = "" > self.title = "" > self.lines = [] > self.path = path >+ self.root = "" > map(self.set_from_line, lines) >- self.root = "" # dummy > > def set_from_line(self, line, replace = None): > (com, arg) = GrubConf.grub_exact_split(line, 2) >@@ -55,6 +56,23 @@ class LiloImage(object): > return self._initrd > initrd = property(get_initrd, set_initrd) > >+ def set_args(self, val): >+ self._args = val >+ def get_args(self): >+ args = self._args >+ if self.root: >+ args += " root=" + self.root >+ if self.readonly: >+ args += " ro" >+ return args >+ args = property(get_args, set_args) >+ >+ def set_readonly(self, val): >+ self._readonly = 1 >+ def get_readonly(self): >+ return self._readonly >+ readonly = property(get_readonly, set_readonly) >+ > # set up command handlers > commands = { "label": "title", > "root": "root", >@@ -62,7 +80,7 @@ class LiloImage(object): > "image": "kernel", > "initrd": "initrd", > "append": "args", >- "read-only": None, >+ "read-only": "readonly", > "chainloader": None, > "module": None} >
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 288371
: 290191