|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] pygrub: support grub2 "(hdX, msdosY)" par
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1286966726 -3600
# Node ID 6eaab829768109e57f31a141efa9d06689e64670
# Parent 5eee6789914049a82de4edc1f7ddc1e20b554fff
pygrub: support grub2 "(hdX,msdosY)" partition syntax
This appeared in Debian Squeeze at some point.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
committer: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
tools/pygrub/src/GrubConf.py | 2 ++
1 files changed, 2 insertions(+)
diff -r 5eee67899140 -r 6eaab8297681 tools/pygrub/src/GrubConf.py
--- a/tools/pygrub/src/GrubConf.py Wed Oct 13 11:37:02 2010 +0100
+++ b/tools/pygrub/src/GrubConf.py Wed Oct 13 11:45:26 2010 +0100
@@ -77,6 +77,8 @@ class GrubDiskPart(object):
self._part = val
return
val = val.replace("(", "").replace(")", "")
+ if val[:5] == "msdos":
+ val = val[5:]
self._part = int(val)
part = property(get_part, set_part)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] pygrub: support grub2 "(hdX, msdosY)" partition syntax,
Xen patchbot-unstable <=
|
|
|
|
|