[Pkg-uml-devel] Finally uploaded file on CVS-pkg-uml

Mattia Dongili malattia at linux.it
Thu Jan 12 19:21:35 UTC 2006


On Tue, Jan 10, 2006 at 11:20:06PM +0100, Stefano Melchior wrote:
> On Tue, Jan 10, 2006 at 09:28:06PM +0100, Mattia Dongili wrote:
[...]
> a brain storming is a good starting point
> > 
> > 1- since uml is into the mainline kernel and the Debian kernel build
> >    system already splits per-ARCH and per-FLAVOUR configs, wouldn't be
> >    possible to integrate UML there?
> 
> 2.6.12-1um started this process: please have a look at the
> user-mode-linux-1um to understand that in the debian/rules: 
> - ask to compile (with ARCH=um) option the u-m-l kernel;
> - in debian/control you can manage the dependency and the conflicts;

Oh, well what I actually meant was to cooperate with the kernel-team and
fully integrate UML in the debian kernel build system. This way we could
benefit a complete sync with the available debian kernels (at least for
2.6 but I'd avoid 2.4 for UML anyway).

> >    (there are big differences between what files are needed and where to
> >    install them but maybe it's workaroundable^Wsolvable).
> what do you mean?

given the above (sorry if it wasn't clear) we'll have to cope with the
fact we don't want to install anything in /boot or /lib/modules

> > 2- need for scripts to create Debian root filesystems, currently
> >    rootstrap, I didn't tested it yet
> yes, I have already found this realease of rootstrap is unusable!

As said in the other thread I'm quite convinced that running UML on the
root host fs is not a very nice idea and a different approach than
rootstrap's is necessary.

kind of:

dd if=/dev/zero of=uml_root bs=1024 count=${size}
loopdev=$(losetup -f)
losetup ${loopdev} uml_root
mkfs.${fs_type} ${loopdev}
tmpdir=$(mktemp -d)
debootstrap --whatever-you-need-to-create-a-working-debian
... (see debootstrap(8) in the EXAMPLE section)...

It can't be much more than that :)

Oh, and by the way I don't speak python :) (ok ok, willing to learn)

-- 
mattia
:wq!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-devel/attachments/20060112/a5ca26ea/attachment.pgp


More information about the Pkg-uml-devel mailing list