* [Buildroot] no /etc/hosts error in building root
@ 2012-11-29 3:31 Woody Wu
2012-11-29 8:33 ` Thomas Petazzoni
2012-11-29 8:34 ` Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Woody Wu @ 2012-11-29 3:31 UTC (permalink / raw)
To: buildroot
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] no /etc/hosts error in building root
2012-11-29 3:31 [Buildroot] no /etc/hosts error in building root Woody Wu
@ 2012-11-29 8:33 ` Thomas Petazzoni
2012-11-29 8:51 ` Woody Wu
2012-11-29 8:34 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2012-11-29 8:33 UTC (permalink / raw)
To: buildroot
Dear Woody Wu,
On Thu, 29 Nov 2012 03:31:16 +0000 (UTC), Woody Wu wrote:
> 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:
This is not supported. You can't remove output/target and expect
Buildroot to reinstall everything.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] no /etc/hosts error in building root
2012-11-29 3:31 [Buildroot] no /etc/hosts error in building root Woody Wu
2012-11-29 8:33 ` Thomas Petazzoni
@ 2012-11-29 8:34 ` Thomas Petazzoni
2012-11-29 8:52 ` Woody Wu
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2012-11-29 8:34 UTC (permalink / raw)
To: buildroot
Dear Woody Wu,
On Thu, 29 Nov 2012 03:31:16 +0000 (UTC), Woody Wu wrote:
> 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.
Just run "make". The images in output/images/ and re-generated from the
contents of output/target at every make invocation.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] no /etc/hosts error in building root
2012-11-29 8:33 ` Thomas Petazzoni
@ 2012-11-29 8:51 ` Woody Wu
0 siblings, 0 replies; 5+ messages in thread
From: Woody Wu @ 2012-11-29 8:51 UTC (permalink / raw)
To: buildroot
On 2012-11-29, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
wrote:
> Dear Woody Wu,
>
> On Thu, 29 Nov 2012 03:31:16 +0000 (UTC), Woody Wu wrote:
>
>> 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:
>
> This is not supported. You can't remove output/target and expect
> Buildroot to reinstall everything.
>
> Best regards,
>
> Thomas
Yes, I understood. After did that, I now already get a strange error
in building. Now I had already delete everything from the disck and
trying to rebuild from scratch.
Thanks.
--
woody
I can't go back to yesterday - because I was a different person then.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] no /etc/hosts error in building root
2012-11-29 8:34 ` Thomas Petazzoni
@ 2012-11-29 8:52 ` Woody Wu
0 siblings, 0 replies; 5+ messages in thread
From: Woody Wu @ 2012-11-29 8:52 UTC (permalink / raw)
To: buildroot
On 2012-11-29, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
wrote:
> Dear Woody Wu,
>
> On Thu, 29 Nov 2012 03:31:16 +0000 (UTC), Woody Wu wrote:
>
>> 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.
>
> Just run "make". The images in output/images/ and re-generated from the
> contents of output/target at every make invocation.
>
> Thomas
This is a good news. Thanks.
--
woody
I can't go back to yesterday - because I was a different person then.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-29 8:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 3:31 [Buildroot] no /etc/hosts error in building root Woody Wu
2012-11-29 8:33 ` Thomas Petazzoni
2012-11-29 8:51 ` Woody Wu
2012-11-29 8:34 ` Thomas Petazzoni
2012-11-29 8:52 ` Woody Wu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.