e09562d587
- Drop 32bit support from spec file - Dropped 520d417d-xen-Add-stdbool.h-workaround-for-BSD.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=282
22 lines
722 B
Diff
22 lines
722 B
Diff
Index: xen-4.4.0-testing/tools/pygrub/src/pygrub
|
|
===================================================================
|
|
--- xen-4.4.0-testing.orig/tools/pygrub/src/pygrub
|
|
+++ xen-4.4.0-testing/tools/pygrub/src/pygrub
|
|
@@ -26,6 +26,7 @@ import fsimage
|
|
import grub.GrubConf
|
|
import grub.LiloConf
|
|
import grub.ExtLinuxConf
|
|
+import xnloader
|
|
|
|
PYGRUB_VER = 0.6
|
|
FS_READ_MAX = 1024 * 1024
|
|
@@ -735,6 +736,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)
|