From: Yann E. MORIN Date: Wed, 22 Jun 2016 19:07:32 +0000 (+0200) Subject: package/perl: use dummy hostname X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af9bb14f3cc0ec70241b74eec4e317778fdd5307;p=buildroot.git package/perl: use dummy hostname The hostname does not look like it serves any useful purpose, except maybe to set set perladmin email. Which is undoubtfully useless on the target. A followup commit will make the hostname depend on the default skeleton, so it won't always be available. We can not rely on it to be set. Besides, even today it is not guaranteed to be set; a user may well leave it empty. Use a dummy hostname. Signed-off-by: "Yann E. MORIN" Reviewed-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/perl/perl.mk b/package/perl/perl.mk index f96b638246..38f30ab60e 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -55,7 +55,7 @@ PERL_CONF_OPTS = \ -Dccflags="$(TARGET_CFLAGS)" \ -Dldflags="$(TARGET_LDFLAGS) -lm" \ -Dmydomain="" \ - -Dmyhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \ + -Dmyhostname="noname" \ -Dmyuname="Buildroot $(BR2_VERSION_FULL)" \ -Dosname=linux \ -Dosvers=$(LINUX_VERSION) \