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

Bug#519172: SysConf parsing fails on an uninitialized NSLU2



Package: oldsys-preseed
Version: 3.2

Marc Singer <elf@buici.com> reports that oldsys-preseed fails on an
uninitialized NSLU2 (i.e. the SysConf partition is empty).

* Marc Singer <elf@buici.com> [2009-03-08 10:46]:
> > Can you run
> >   sh -x oldsys-preseed
> > and send the output to me in private mail.
> 
> + set -e
> + . /usr/lib/oldsys-preseed/functions
> + NONINTERACTIVE=yes
> + FILE=/preseed.cfg
> + archdetect
> + grep ^Hardware /proc/cpuinfo
> + sed s/Hardware\s*:\s*//
> + machine=Linksys NSLU2
> + echo Linksys NSLU2
> + grep -q ^Linksys NSLU2
> + check_file /proc/mtd
> + [ ! -e /proc/mtd ]
> + get_mtdblock SysConf
> + get_mtd SysConf
> + grep \bSysConf\b"*$ /proc/mtd
> + cut -d : -f 1
> + sed s/mtd/mtdblock/
> + echo mtd1
> + sysconf=mtdblock1
> + [ -z mtdblock1 ]
> + parse_sysconf /dev/mtdblock1
> + devio <</dev/mtdblock1 cpb
> devio: /dev/mtdblock1: read beyond end of file
> + sysconf=ÿÿÿÿÿÿÿÿÿÿ[...]"
> /usr/bin # 

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: