Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 556046

Summary: app-emulation/xen-tools: add the ability to build and install the xen stubdom components.
Product: Gentoo Linux Reporter: Austin S. Hemmelgarn <ahferroin7>
Component: Current packagesAssignee: Gentoo Xen Devs <xen>
Status: UNCONFIRMED ---    
Severity: enhancement CC: ahferroin7, hydrapolic, jstein, proxy-maint, spookyghost
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xen-stubdom-dm-4.8.1.ebuild: ebuild to install the xen stubdom components

Description Austin S. Hemmelgarn 2015-07-27 14:13:52 UTC
All current ebuilds for both app-emulation/xen and app-emulation/xen-tools provide no way to build and install the stubdom components from the Xen project, which means that anyone who wants to use stub domains on Gentoo has to do a lot of work to do so.  It would be nice to either have a USE flag or a separate ebuild to install them through portage.
Comment 1 Yixun Lan archtester gentoo-dev 2015-07-31 03:06:13 UTC
hey, patches are welcome ;-)
Comment 2 Austin S. Hemmelgarn 2015-08-03 14:22:25 UTC
(In reply to Yixun Lan from comment #1)
> hey, patches are welcome ;-)

It's on my todo list, although only after #556044, as that one essentially makes my main testing system useless for Xen.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-08-03 17:01:56 UTC
I made one years ago. It's in the virtualization overlay

xen-stubdom-4.2.2.ebuild

So it will need updating to the current 4.5
Comment 4 Austin S. Hemmelgarn 2015-08-05 19:11:07 UTC
(In reply to Ian Delaney from comment #3)
> I made one years ago. It's in the virtualization overlay
> 
> xen-stubdom-4.2.2.ebuild
> 
> So it will need updating to the current 4.5

I've commited an experimental version of this to my personal overlay at https://github.com/Ferroin/ahferroin7-overlay
As of right now, the only changes I've done are adding use flags to enable each of the ioemu-stubdom, vtpm[mgr]-stubdom, and xenstore-stubdom (in practice, these are the only three I've actually seen used in production systems), and added some stuff to econf to explicitly disable some of the others.
I've not had a chance to actually test it yet (I don't have consistently reliable access to a working non-production Xen system to test it properly on, although that will hopefully be remedied in the near future).
Comment 5 Spooky Ghost 2017-08-10 09:47:17 UTC
Created attachment 488484 [details]
xen-stubdom-dm-4.8.1.ebuild: ebuild to install the xen stubdom components

#446241 is related but it never seemed to make the main portage repo from the overlay.  Here is an ebuild based on xen-pvgrub-4.8.1.  You need to copy the files directory and make appropriate renames.