]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
fixup! tools/pygrub: Add `xen' to fsimage python module name t
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 12 Oct 2018 14:25:30 +0000 (15:25 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 12 Oct 2018 14:25:30 +0000 (15:25 +0100)
tools/pygrub/src/pygrub

index c5bdd8e380f0eef6f5301557acd2c3b3c3dafb79..52a8965ad97fac2d5180e83aac8d742a31d0884d 100755 (executable)
@@ -897,7 +897,7 @@ if __name__ == "__main__":
 
     for offset in part_offs:
         try:
-            fs = fsimage.open(file, offset, bootfsoptions)
+            fs = xenfsimage.open(file, offset, bootfsoptions)
 
             chosencfg = sniff_solaris(fs, incfg)
 
@@ -945,7 +945,7 @@ if __name__ == "__main__":
 
     args = None
     if chosencfg["args"]:
-        zfsinfo = fsimage.getbootstring(fs)
+        zfsinfo = xenfsimage.getbootstring(fs)
         if zfsinfo is not None:
             e = re.compile("zfs-bootfs=[\w\-\.\:@/]+" )
             (chosencfg["args"],count) = e.subn(zfsinfo, chosencfg["args"])