diff options
Diffstat (limited to 'pygrub-netware-xnloader.patch')
| -rw-r--r-- | pygrub-netware-xnloader.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pygrub-netware-xnloader.patch b/pygrub-netware-xnloader.patch new file mode 100644 index 0000000..6ebe69a --- /dev/null +++ b/pygrub-netware-xnloader.patch @@ -0,0 +1,21 @@ +Index: xen-4.13.0-testing/tools/pygrub/src/pygrub +=================================================================== +--- xen-4.13.0-testing.orig/tools/pygrub/src/pygrub ++++ xen-4.13.0-testing/tools/pygrub/src/pygrub +@@ -27,6 +27,7 @@ import xenfsimage + import grub.GrubConf + import grub.LiloConf + import grub.ExtLinuxConf ++import xnloader + + PYGRUB_VER = 0.6 + FS_READ_MAX = 1024 * 1024 +@@ -768,6 +769,8 @@ if __name__ == "__main__": + if len(data) == 0: + os.close(tfd) + del datafile ++ if file_to_read == "/nwserver/xnloader.sys": ++ xnloader.patch_netware_loader(ret) + return ret + try: + os.write(tfd, data) |
