[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] cvs update on uClinux-dev break almost all
Jivin Claudio Lanconelli lays it down ...
...
> Hi John,
> I tried your patches, and all apply cleanly.
> However now I have an error with romfs:
> -------------------------------------------------------------------
> romfs-inst.sh -s /var/tmp /tmp
> # make I2C nodes if necessary
> for i in 0 1 2 3 4 5 6 7; do \
> touch /home/lanco/ucLinux/uClinux-dist/romfs/dev/@i2c-$i,c,89,$i; \
> done
> mkdir -p /home/lanco/ucLinux/uClinux-dist/romfs/etc/config
> mkdir -p /home/lanco/ucLinux/uClinux-dist/romfs/etc/default
> romfs-inst.sh etc/rc/flatfsd /etc/init.d/flatfsd
> romfs-inst.sh -s /etc/init.d/flatfsd /etc/rc.d/S02flatfsd
> romfs-inst.sh -a "root:WeRSK8ppsJ9A6:0:0::/:/bin/sh" /etc/default/passwd
> romfs-inst.sh -e CONFIG_USER_AGETTY_AGETTY \
> -a "ttyS0:vt100:/bin/agetty ttyS0 115200" /etc/inittab
> romfs-inst.sh -e CONFIG_USER_FLATFSD_FLATFSD \
> -a "flt:unknown:/bin/flatfsd" /etc/inittab
> romfs-inst.sh -e CONFIG_USER_INETD_INETD \
> -a "inet:unknown:/bin/inetd" /etc/inittab
> romfs-inst.sh -e CONFIG_USER_FLATFSD_FLATFSD \
> etc/rc/start /etc/default/start
> romfs-inst.sh -e CONFIG_USER_FLATFSD_FLATFSD \
> etc/inittab.config /etc/default/inittab
> romfs-inst.sh etc/rc/sysinit /etc/rc
> romfs-inst.sh -e CONFIG_USER_BUSYBOX_HOSTNAME \
> etc/rc/hostname /etc/init.d/hostname
> romfs-inst.sh -e CONFIG_USER_SYSUTILS_HOSTNAME \
> etc/rc/hostname /etc/init.d/hostname
> romfs-inst.sh -e CONFIG_USER_NET_TOOLS_HOSTNAME \
> etc/rc/hostname /etc/init.d/hostname
> [ -e /home/lanco/ucLinux/uClinux-dist/romfs/etc/init.d/hostname ] && \
> romfs-inst.sh -a "/bin/hostname uclinux-auto" /etc/init.d/hostname
> [ -e /home/lanco/ucLinux/uClinux-dist/romfs/etc/init.d/hostname ] && \
> romfs-inst.sh -s /etc/init.d/hostname /etc/rc.d/S30hostname
> [ -f etc/resolv.conf ] && romfs-inst.sh etc/resolv.conf
> /etc/default/resolv.conf
> [ -f etc/hosts ] && romfs-inst.sh etc/hosts /etc/default/hosts
> make[1]: *** [romfs] Error 1
> make[1]: Leaving directory
> `/home/lanco/ucLinux/uClinux-dist/vendors/Xilinx/uclinux-auto'
> make: *** [romfs] Error 1
Try changing that line to:
[ ! -f etc/hosts ] || romfs-inst.sh etc/hosts /etc/default/hosts
that way if etc/hosts doesn't exist, the command as a whole will not
fail, and make will be happy,
Cheers,
Davidm
--
David McCullough, davidm@cyberguard.com.au, Custom Embedded Solutions + Security
Ph:+61 734352815 Fx:+61 738913630 http://www.uCdot.org http://www.cyberguard.com
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/