[pkg-fso-maint] [small patch] install.sh
Tiago Bortoletto Vaz
tiago at debian-ba.org
Wed Aug 19 21:28:21 UTC 2009
Hi,
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.
Regards,
--
Tiago Bortoletto Vaz
http://tiagovaz.org
0xA504FECA - http://pgp.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.sh.patch
Type: text/x-diff
Size: 469 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090819/40b2bb2f/attachment.patch>
-------------- 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/40b2bb2f/attachment.pgp>
More information about the pkg-fso-maint
mailing list