From c22f60e6e55f1bf300dd76d2222a93911f3b2bb2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 12 Oct 2023 04:00:49 +0000 Subject: automatic import of xen --- pygrub-netware-xnloader.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pygrub-netware-xnloader.patch (limited to 'pygrub-netware-xnloader.patch') 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) -- cgit v1.2.3