Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 3049179D63 for ; Fri, 23 Nov 2018 23:38:41 +0000 (UTC) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.15.2/8.15.2/Debian-10) with ESMTPSA id wANNce0R026316 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Nov 2018 23:38:42 GMT Message-ID: <0ac09df2ae84cf9399feb63abc69683521ea5e98.camel@linuxfoundation.org> From: Richard Purdie To: Chen Qi , openembedded-core@lists.openembedded.org Date: Fri, 23 Nov 2018 23:38:40 +0000 In-Reply-To: <2464d115a8d3ee0391900838ddb1c2269dfd1a97.1542939066.git.Qi.Chen@windriver.com> References: <2464d115a8d3ee0391900838ddb1c2269dfd1a97.1542939066.git.Qi.Chen@windriver.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 X-Virus-Scanned: clamav-milter 0.100.2 at dan X-Virus-Status: Clean Subject: Re: [PATCH 9/9] base-files: default hostname to localhost X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 23:38:42 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2018-11-23 at 10:16 +0800, Chen Qi wrote: > Previously we default hostname to be ${MACHINE}, but there's no entry > in /etc/hosts, and `hostname -f' command fails. So change it to > 'localhost'. > > Signed-off-by: Chen Qi > --- > meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) This is not the correct way to fix this, we should be adding the correct entry to /etc/hosts... Cheers, Richard