Skip to contentSkip to conversation

domUloader

PATCH Kurt Garloff 1 participant 1 message Jan 16, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 2 lines · Kurt Garloff

(2) A patch to make pygrub accept the new parameters passed by XendBootloader.py (but so far pygrub just ignores them ...)

Just the addition to the getopt call, so pygrub won't complain. Should not have broken anything -- but unlike the other changes, I have not tested it.

Best,

Signature · 1 line
Kurt Garloff, Head Architect, Director SUSE Labs (act.), Novell Inc.
pygrub renamed from pygrub.orig +2 -2
@@ -211,8 +211,8 @@ if __name__ == "__main__":
         print >> sys.stderr, "Usage: %s [-q|--quiet] [--output=] [--entry=] <image>" %(sys.argv[0],)
 
     try:
-        opts, args = getopt.gnu_getopt(sys.argv[1:], 'qh::',
-                                   ["quiet", "help", "output=", "entry="])
+        opts, args = getopt.gnu_getopt(sys.argv[1:], 'qvh::',
+                     ["quiet", "help", "output=", "entry=", "root=", "disks=", "verbose="])
     except getopt.GetoptError:
         usage()
         sys.exit(1)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel