[Debootloaders-yaboot] Bug#587290: How does linux-base modify /etc/yaboot.conf ?

Ben Hutchings ben at decadent.org.uk
Sat Sep 18 17:34:43 UTC 2010


On Thu, 2010-09-16 at 15:44 +0200, Benjamin Cama wrote:
> Le jeudi 16 septembre 2010 à 15:12 +0200, Benjamin Cama a écrit :
> > You mentioned that linux-base may modify /etc/yaboot.conf. I think it
> > might be the culprit for this bug, but I would first like to know how
> > and why it does that ?
> 
> OK, I was right, thanks to your hint: see
> http://svn.debian.org/wsvn/kernel/dists/sid/linux-2.6/debian/linux-base.postinst
> 
> The yaboot.conf is taken as if it has the lilo syntax.

It does.  Compare the function cfg_get_token() between lilo (cfg.c) and
yaboot (second/cfg.c); it has been cleaned up a bit in yaboot but is
still basically the same.

> And this script
> adds spaces and quotes around key/value pairs and let /dev/disk/by-*
> names. This is not compatible with yaboot.

Which of those things is not compatible with yaboot?

> I also saw that you filled this bug:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581173 which make me
> think that your approach is to adapt every bootloader to this syntax.
[...]

I filed that bug because elilo.sh is not consistent with ELILO itself.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debootloaders-yaboot/attachments/20100918/a30ce434/attachment.pgp>


More information about the Debootloaders-yaboot mailing list