From: Michal Marek <mmarek@suse.cz>
To: Christian Kujau <lists@nerdbynature.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fallback to hostname in scripts/package/builddeb
Date: Tue, 4 Aug 2015 13:43:10 +0200 [thread overview]
Message-ID: <20150804114310.GA14409@pobox.suse.cz> (raw)
In-Reply-To: <alpine.DEB.2.20.8.1508022003190.12626@trent.utfs.org>
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 <lists@nerdbynature.de>
Applied to kbuild.git#misc, thanks.
Michal
prev parent reply other threads:[~2015-08-04 11:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 3:03 Christian Kujau
2015-08-04 11:43 ` Michal Marek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150804114310.GA14409@pobox.suse.cz \
--to=mmarek@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=lists@nerdbynature.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®