I've written some simple configuration and init scripts for management of UML instances in the standard gentoo way. I have not yet written an ebuild to automatically install these, and am now asking for suggestions as to how I might get these scripts into portage. I've documented and posted the source to http://jjoseph.org/linux-work/uml_gentoo This page also documents my associated network changes, discussed in bug 55394. They may be ignored for the purposes of this bug. It is possible this bug does not belong to the "ebuilds" component. Please advise as to where it should be placed. Thanks, -Jacob Reproducible: Always Steps to Reproduce:
could you outline the uml stuff here (ignoring the networking aspects) ? like what additional scripts would you like to see added and what changes to files must be made to support uml ?
Thanks much for responding to this bug. Perhaps that page, having the networking stuff included, makes things too complicated. In short, for a given UML, two files are required: a configuration file an an init script. Configuration scripts are named /etc/conf.d/uml.machine with matching init scripts /etc/conf.d/uml.machine. If you think it would help get into portage, I could certainly tar these up and create a quick ebuild to do the installation. Thanks again. -Jacob
post the two files here as attachments the networking stuff is undergoing its own evolution which is why i dont want to touch that aspect
Created attachment 41920 [details] /etc/conf.d/uml.ludo This is the configuration file, to be read by the init script.
Created attachment 41921 [details] /etc/init.d/uml.ludo Init script to read the above config file.
ok, so i think we should add these to the usermode-utilities package that work for you ?
That certainly seems like a good place to me. I suggest 'uml.uml0' as a better default name than ludo, which is just one of my uml's. I've also clarified one of the comments in the configuration and have commented the dependency on my bridging network script from the init script. I'm keeping that stuff separate in bug 55394. Thanks. -Jacob
Created attachment 41992 [details] /etc/conf.d/uml.uml0
Comment on attachment 41992 [details] /etc/conf.d/uml.uml0 Updated configuration
Created attachment 41993 [details] /etc/init.d/uml.uml0 Removed net.bridge0 dependency.
Would you mind assigning the copyright over to gentoo and putting yourself as the orig author. cat /usr/portage/header.txt
Created attachment 42076 [details] /etc/init.d/uml.uml0 Assign copyright to Gentoo.
giving over to someone who actually knows UML and can take care of this :)
Any idea when this might be moved into the official portage tree? If more testing is required before this is done, I have told J.Joseph that I would go ahead and do this.
base-system does not maintain UML this script belongs in usermode-utilities, not baselayout
I'm going to call this closed due to inactivity; it's years old and I have no idea if they still work with 2.6-UML stuff.