Skip to contentSkip to conversation

stubdom --disable-pv-grub has not effect

DISCUSSION Olaf Hering 2 participants 5 messages Apr 1, 2018 – Apr 2, 2018

lore
Share & tools
lore
#0 lore raw

Since the source of pv-grub is not ready for todays compilers, and we have pvgrub2, I tried to disable it with --enable-stubdom --disable-pv-grub. But the toplevel Makefile does "make install-grub" unconditionally. I'm not familiar with stubdom. Is pvgrub a hard requirement for every stubdom variant?

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#1 lore raw
Quoted 5 lines · Olaf Hering

Since the source of pv-grub is not ready for todays compilers, and we have pvgrub2, I tried to disable it with --enable-stubdom --disable-pv-grub. But the toplevel Makefile does "make install-grub" unconditionally. I'm not familiar with stubdom. Is pvgrub a hard requirement for every stubdom variant?

No. That's a bug in our build system.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 1 line · Wei Liu

No. That's a bug in our build system.

Thanks. For some reason only gcc48-4.8.3.rpm from SLE_11 is affected, not gcc43-4.3.4.rpm from SLE_11 nor gcc48-4.8.5.rpm from SLE_12. This fixes my packages for the time being:
sed -i '/ stubdom install-grub/d' Makefile

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw
Quoted 8 lines · Olaf Hering
Quoted 1 line · Wei Liu

No. That's a bug in our build system.

Thanks. For some reason only gcc48-4.8.3.rpm from SLE_11 is affected, not gcc43-4.3.4.rpm from SLE_11 nor gcc48-4.8.5.rpm from SLE_12. This fixes my packages for the time being:
sed -i '/ stubdom install-grub/d' Makefile

I suppose you hit some sort of compile error because pv-grub has rotten?

The proper fix is, of course, make sure stubdom is really disabled. I will see if I can get around to it at some point.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#4 lore raw

Am Mon, 2 Apr 2018 10:44:23 +0100
schrieb Wei Liu <[email protected]>:

Quoted 1 line

I suppose you hit some sort of compile error because pv-grub has rotten?

A post-build check scans the build log for warnings. Some of them are seen as fatal, and the otherwise successful build is marked as FAIL, no rpm package is provided. Since I have no need for pvgrub, disabling it seems like the obvious choice.

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel