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.
hey, patches are welcome ;-)
(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.
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
(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).
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.