[Buildroot] no /etc/hosts error in building root

Woody Wu narkewoody at gmail.com
Thu Nov 29 03:31:16 UTC 2012


Hi, List

I just removed the output/target directory and want to root filesystem
to be rebuilt by running 'make' again.  But this time I got an error:

/usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' \
        -e '/^127.0.1.1/d'
        /home/buildroot/buildroot-2012.08/output/target/etc/hosts
        /usr/bin/sed: can't read
        /home/buildroot/buildroot-2012.08/output/target/etc/hosts: No
        such file or directory


Do you know what's the cause and how to fix it?

BTW:  If I also want the root iamges under output/images directory to be
regenerated, is that enough to only remobe the output/target and run
'make'?  I tried something like 'make root-rebuild' and 'make
rootfs-rebuild' but they do not work.


Thanks in advance.


-- 
woody
I can't go back to yesterday - because I was a different person then.



More information about the buildroot mailing list