From: Christian Kujau Date: Mon, 3 Aug 2015 03:03:26 +0000 (-0700) Subject: fallback to hostname in scripts/package/builddeb X-Git-Tag: omap-for-v4.3/fixes-rc1~65^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bea107b1f1ee79da0bc2c1ee0c70bf1c3c6c41b4;p=pandora-kernel.git fallback to hostname in scripts/package/builddeb 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 Signed-off-by: Michal Marek --- Reading git-diff-tree failed