Re: [yocto] Set hostname on image?

2012-12-23 Thread ChenQi
On 12/21/2012 11:04 PM, Jonas Jonsson L wrote: Hi! This is probably a very stupid question, but I don't understand how to set the hostname of the system that I'm building (I'm building a 'core-image-minimal'), unless I A) write a /etc/hostname file to the image, or B) write a script that

[yocto] Set hostname on image?

2012-12-21 Thread Jonas Jonsson L
Hi! This is probably a very stupid question, but I don't understand how to set the hostname of the system that I'm building (I'm building a 'core-image-minimal'), unless I A) write a /etc/hostname file to the image, or B) write a script that updates the hostname during startup The installed

Re: [yocto] Set hostname on image?

2012-12-21 Thread Tomas Frydrych
On 21/12/12 15:04, Jonas Jonsson L wrote: The installed (/etc/hostname) file is created installed in the base-files recipe, but I don't understand how to set/use the hostname-variable in that recipe so that it becomes what I want it to be (unless I start editing that recipe ). Is