Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933420AbbHDLnL (ORCPT ); Tue, 4 Aug 2015 07:43:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:37070 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933034AbbHDLnK (ORCPT ); Tue, 4 Aug 2015 07:43:10 -0400 Date: Tue, 4 Aug 2015 13:43:10 +0200 From: Michal Marek To: Christian Kujau Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] fallback to hostname in scripts/package/builddeb Message-ID: <20150804114310.GA14409@pobox.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 27 On Sun, Aug 02, 2015 at 08:03:26PM -0700, Christian Kujau wrote: > Hi, > > I happened to build a kernel with "make deb-pkg" on a machine with no > network connectivity, but this failed with: > > [...] > INSTALL debian/headertmp/usr/include/asm/ (65 files) > hostname: Name or service not known > ../scripts/package/Makefile:90: recipe for target 'deb-pkg' failed > make[2]: *** [deb-pkg] Error 1 > > In scripts/package/builddeb it tries to construct an email address (that > can be queried in /proc/version later on) but with no network, > the "hostname -f" fails. The following patch falls back to just use the > shortname if we cannot determine our FQDN. > > Signed-off-by: Christian Kujau Applied to kbuild.git#misc, thanks. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/