Summary: | app-emulation/xen-tools-3.3.0 does not install pv-grub | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rambaldi <gentoo> |
Component: | New packages | Assignee: | Gentoo Xen Devs <xen> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gentoo, gentoo, mvolaski, sebastian, wschlich |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
work in progress ebuild for pvgrub support
app-emulation/xen-tools-3.4.0-r2 xen-tools-3.4.0-r2.ebuild app-emulation/xen-tools-3.3.1-r1 |
Description
Rambaldi
2008-09-01 18:49:23 UTC
ping From a post at http://forums.gentoo.org/viewtopic-t-709908-postdays-0-postorder-asc-highlight-pvgrub-start-25.html I had a similar problem with the stubdom tools not being built, I emailed Robert Buchholz who maintains the ebuild and he explained that the build script downloads files in the build phase and that causes problems, so stubdom and pv-grub support is disabled in the ebuild. I say this is a bug, not an enhancement! I'm also not buying that this situation has yet to be encountered in portage and no general solution worked out. In any case, it seems that the ebuild should be doing the downloading and the Makefile edited to present it with the downloaded stuff. Created attachment 187114 [details]
work in progress ebuild for pvgrub support
this ebuild uses the 'gentoo' way to download the needed components.
It fails however with a gcc error. I tried to fix this but have thus far failed in doing so.
Created attachment 197864 [details]
app-emulation/xen-tools-3.4.0-r2
Attached my attempt to build xen-tools with pvgrub support. This ebuild uses downloaded files in $DESTDIR instead of wget, but it's still a hack.
Created attachment 198242 [details]
xen-tools-3.4.0-r2.ebuild
fixed for compiling on amd64
Created attachment 198243 [details] app-emulation/xen-tools-3.3.1-r1 patched ebuild for xen-tools-3.3.1 note: requires xen-tools-3.3.1-udevinfo.patch (see bug #236819) This is still an issue in xen-tools-4.0.0. pygrub should not be getting included due to security issues and this patch seems to work fine. Can this please get addressed? (In reply to comment #6) > Created an attachment (id=198243) [details] > app-emulation/xen-tools-3.3.1-r1 > > patched ebuild for xen-tools-3.3.1 > > note: requires xen-tools-3.3.1-udevinfo.patch (see bug #236819) > > Can this please get addressed? I got tired of patching the xen-tools ebuild, so I wrote ebuilds for pv-grub only. They can be found in our overlay: http://subversion.fem.tu-ilmenau.de/repository/fem-overlay/trunk/ in app-emulation/xen-pvgrub. We are using pvgrub on productive servers for some time now and didn't have any problems worth noting. Tested with Xen 3.3, 3.4 and 4.0. Added a pvgrub howto using Peter Grobe's overlay: http://forums.gentoo.org/viewtopic-t-857650-highlight-pvgrub.html Thanks Peter for the fine overlay. Works great! Cheers, Xen 4.1 in tree. Please test with it and reopen if it doesnt work After installing xen-tools-4.1.0 the support for pv-grub is still missing. pv-grub works in 4.1.1 and has been tested. Fixed in the tree. |