Bug#329111: #329111: /usr/sbin/arcboot syntax error

2006-08-14 Thread Guido Guenther
Hi Julien, On Sun, Aug 13, 2006 at 03:12:04PM +0200, Julien BLACHE wrote: Line 37 should read: if [ $(dd if=$IMAGE bs=4 count=1 2/dev/null) != $(printf '\177ELF') ]; then Would you care to NMU? I don't have any reasonable MIPS hardware available for the next couple of days. Cheers, --

Bug#329111: #329111: /usr/sbin/arcboot syntax error

2006-08-14 Thread Julien BLACHE
Guido Guenther [EMAIL PROTECTED] wrote: Hi Guido, Line 37 should read: if [ $(dd if=$IMAGE bs=4 count=1 2/dev/null) != $(printf '\177ELF') ]; then Would you care to NMU? I don't have any reasonable MIPS hardware available for the next couple of days. I'll try and do that later

Bug#329111: #329111: /usr/sbin/arcboot syntax error

2006-08-13 Thread Julien BLACHE
tags 329111 patch thanks Hi, Line 37 should read: if [ $(dd if=$IMAGE bs=4 count=1 2/dev/null) != $(printf '\177ELF') ]; then Note the added double quotes, otherwise, when dd fails, the left operand will be non-existent. Note that this check breaks horribly when you have a separate