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.
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]
This is the configuration file, to be read by the init script.
Created attachment 41921 [details]
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.
Created attachment 41992 [details]
Comment on attachment 41992 [details]
Created attachment 41993 [details]
Removed net.bridge0 dependency.
Would you mind assigning the copyright over to gentoo and putting yourself as the orig author.
Created attachment 42076 [details]
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.