From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from r-finger.com (r-finger.com [178.79.160.5]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 84D6DE006C3 for ; Fri, 21 Dec 2012 07:44:57 -0800 (PST) Received: from [192.168.0.2] (host86-137-82-70.range86-137.btcentralplus.com [86.137.82.70]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by r-finger.com (Postfix) with ESMTPSA id 30C899BF8 for ; Fri, 21 Dec 2012 15:44:55 +0000 (GMT) Message-ID: <50D483F6.7070002@r-finger.com> Date: Fri, 21 Dec 2012 15:44:54 +0000 From: Tomas Frydrych User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <0342A6AD36648742A199353A51DDC703114FF6A1@ESESSMB305.ericsson.se> In-Reply-To: <0342A6AD36648742A199353A51DDC703114FF6A1@ESESSMB305.ericsson.se> Subject: Re: Set hostname on image? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 15:44:57 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 there a way to modify the hostname from my 'local.conf' file? You will not be able to override it in local.conf because the 'hostname' variable in the recipe is not weakly assigned. But you should be able to override it in a base-files.bbappend. Tomas