[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395259: nobootloader: [powerpc/pegasos] bad sed invocation breaks devfs style paths (division by zero)



On Wednesday 25 October 2006 23:12, Sven Luther wrote:
> It seems that nobootloader uses still devfs paths for some reason. The
> following line :

That is not so strange as that line is using the exact same variable 
$bootfs_devfs as its base that the old code did...

Should it be using something different instead? What is the value of 
$bootfs_disk_syspath and $bootfs_disk if you run the code with 'set -x'?

For now I've added a comment that that should probably be changed at some 
point.

(To be very honest, I don't see the point of the code added in 1.10 at all 
as the devfs path is still used as the base for the whole piece of code; 
I guess it is in preparation of a further future transition.)

P.S. Your patch left the old line in the code instead of replacing it...

Attachment: pgpp1LKOcvr2Z.pgp
Description: PGP signature


Reply to: