[Pkg-uml-devel] Re: [Pkg-uml-commit] r81 - in trunk/src/rootstrap: . debian modules

Stefano Melchior stefano.melchior at openlabs.it
Tue May 23 07:10:14 UTC 2006


On Mon, May 22, 2006 at 08:49:47PM +0200, Mattia Dongili wrote:
Mattia,
[...]
> > Log:
> 
> please, pretty please, write relevant changes in the SVN log.
> A Good Approach (tm) is to have small changesets (eg: committing only
> related portions of you work together) and useful logs, main advantages
> being:
> - if you need to revert a change you don't loose all your changes
> - easy to track changes by other people
> - ... more
> I know I sometimes commit big blobs too [shame on me], however we should
> try to work in an more appropriate team-based-fashion. :)
sorry, that is my ingenuinity
> 
> [...]
> > Modified: trunk/src/rootstrap/debian/changelog
> > ===================================================================
> > --- trunk/src/rootstrap/debian/changelog	2006-05-21 20:49:14 UTC (rev 80)
> > +++ trunk/src/rootstrap/debian/changelog	2006-05-21 22:38:53 UTC (rev 81)
> > @@ -1,3 +1,15 @@
> > +rootstrap (0.3.21-2) unstable; urgency=low
> 
> If we're taking over roostrap completely (are we?) I'd release a new
> shiny 0.3.22, agree?
I would only add some changes, not to provide a fully working release,
that is why I intentionally left 0.3.21-2 release
> 
> > +
> > +  * fixed issue for 2.6 kernel for ubd device (Closes: #272914), (closes: #282914)
> 
> which issue? the changelog should better describe changes without
> requiring people to look at the bugreport to understand what changed.
> What about bug 272914??? where does it come from? :)
> 
> > +  * fixed Standards depedance changes
> > +  * fixed user-mode-linux dependancy (Closes: #275410)
> > +  * fixed udb missing (Closes: #342694)
> 
> "fixed" doesn't tell much if one doesn't know what's broken, I'd use the
> following wording (just an example):
>  * bumped Standards-Version to 3.7.2
>  * removed version[1] in user-mode-linux dependency (closes...)
>  * creating ubd device nodes if missing (closes...)
> 
> [1]: by the way are we really sure it works with old (2.4 series) UMLs?

rootstrap requires 'linux', thus user-mode-linux in general, why do you
need to prevent a release to be used, since the last working rootstrap is
in oldstable (woody). The changes that we submitted are supported from
woody to the upcoming etch.

> 
> > +  * uml-utilities fix assures network to work with u-m-l 2.6 serie (Closes: #304461)
> 
> if this was really an uml-utilites bug it should be closed differently
> (not by a roostrap upload at least).

in this case, why did the bug summitted an uml-utilites bug on rootstrap?
> 
> > +  * fixed issue with more recent version of u-m-l (Closes: #320410)
> 
> oh, #320410 seems to be unrelated to the description (and not fixed
> too).
> 
> > +  * add reference of the hostfs need on man page (Closes: #300221)
> 
> Actually in the manpage you don't say that host_fs needs to be built-in
> and not as a module in the guest kernel that was the culprit of the
> bugreport :)
omissis, I don't pretend to be completely exhaustive :)
> 
> > Modified: trunk/src/rootstrap/modules/uml
> > ===================================================================
> > --- trunk/src/rootstrap/modules/uml	2006-05-21 20:49:14 UTC (rev 80)
> > +++ trunk/src/rootstrap/modules/uml	2006-05-21 22:38:53 UTC (rev 81)
> > @@ -2,9 +2,11 @@
> >  
> >  # Add ubd devices on host (if not present)
> >  
> > -if [ ! -d /dev/ubd || -e /dev/ubd$i ]; then
> > +if [ ! -d /dev/ubd ]; then
> >  	for i in 0 1 2 3 4 5 6 7; do
> > -		mknod $TARGET/dev/ubd$i b 98 $[$i * 16]; 
> > +		if [ -e /dev/ubd$i ]; then
>                    ^^^^
> if [ ! -e /dev/ubd$i ] ; then ?
> 
> > +                       mknod $TARGET/dev/ubd$i b 98 $[$i * 16];
> 
> and as said Sven, you're still testing for /dev/udb[01234567] and
> creating $TARGET/dev/ubd[01234567]
> 
> > +               fi
> >	done
> > fi
> 
> no "else" here? What happens if /dev/ubd exists and is a directory?
> The rest of the file also re-does:
> 
> for i in 0 1 2 3 4 5 6 7; do mknod $TARGET/dev/ubd$i b 98 $[$i * 16]; done
> ...
> chroot $TARGET /bin/sh -c 'cd /dev && ./MAKEDEV ubd'
> 
> Isn't it a bit redundant? :)
I should have written

 mknod /dev/ubd$i b 98 $[$i * 16];

in case you haven't got ubd dev on host, required by rootstrap!
if you have:
/dev/ubd/[0-7] you have ysed devfs, so you don't need to create any host
ubd dev; otherwise if you have not got any /dev/ubd[0-7] (on host), you
need them (defs=nomount) to create filesystem.
I was wondering if you make rootstrap work with a mirror different from
cdrom/mounted *.iso.
Can you

Cheers

SteX
-- 
Stefano Melchior, GPG key = D52DF829 - <stefano.melchior at openlabs.it>
http://etinarcadiaego.dyndns.org    --     http://www.stex.name
Skype ID "stefanomelchior"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-devel/attachments/20060523/86cee4c3/attachment.pgp


More information about the Pkg-uml-devel mailing list