[pkg-fso-maint] [small patch] install.sh

Tiago Bortoletto Vaz tiago at debian-ba.org
Wed Aug 19 22:14:06 UTC 2009


On Thu, Aug 20, 2009 at 12:05:15AM +0200, Joachim Breitner wrote:
> Hi,
> 
> Am Mittwoch, den 19.08.2009, 18:28 -0300 schrieb Tiago Bortoletto Vaz:
> > install.sh uses `echo pq| fdisk ${SD_DEVICE} |grep Disk` when needs to get the
> > sd disk size. Note that by performing this command we can get extra information
> > which can break the next steps in this script. The current grep call doesn't
> > consider this possibility:
> > 
> > neo:~# echo pq| fdisk ${SD_DEVICE} |grep Disk |cut -f 3 -d \ ;
> > [...]
> > 8017
> > 0x2b535af0
> > ^^^^^^^^^^
> > 
> > and then...
> > 
> > neo:~# ./install.sh --part1-fs vfat --part1-size 16 partition
> > [...]
> > ./install.sh: line 639: 244672-(244672*0/8017
> > 0x9a9ef709): missing `)' (error token is "0x9a9ef709)")
> > 
> > The attached patch is supposed to fix this.
> 
> thanks. I’ll happily apply it, once you assure that you actually tested
> it, as I’m too lazy to do it :-)

Go ahead, it worked here :)

ps: I've just subscribed to this list.

Thanks,

-- 
Tiago Bortoletto Vaz
http://tiagovaz.org
0xA504FECA - http://pgp.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090819/705731ab/attachment.pgp>


More information about the pkg-fso-maint mailing list