# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267557742 0
# Node ID 6063c16aeeaa85bed0b34606e11a0e939384a754
# Parent faf6902fde2ecbdcf8b51c5b88474145088e1dc2
pygrub: Fix grub2 support backport.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/pygrub/src/GrubConf.py | 6 ------
1 files changed, 6 deletions(-)
diff -r faf6902fde2e -r 6063c16aeeaa tools/pygrub/src/GrubConf.py
--- a/tools/pygrub/src/GrubConf.py Tue Mar 02 13:56:58 2010 +0000
+++ b/tools/pygrub/src/GrubConf.py Tue Mar 02 19:22:22 2010 +0000
@@ -263,9 +263,6 @@ class GrubConfigFile(_GrubConfigFile):
if img:
self.add_image(GrubImage(title, img))
- if self.hasPassword():
- self.setPasswordAccess(False)
-
class Grub2Image(_GrubImage):
def __init__(self, title, lines):
_GrubImage.__init__(self, title, lines)
@@ -376,9 +373,6 @@ class Grub2ConfigFile(_GrubConfigFile):
if img is not None:
raise RuntimeError, "syntax error 3 %d %s" % (len(img),img)
-
- if self.hasPassword():
- self.setPasswordAccess(False)
commands = {'set:default': 'default',
'set:root': 'root',
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|