]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/perl: use dummy hostname
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 22 Jun 2016 19:07:32 +0000 (21:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 Jul 2016 13:45:04 +0000 (15:45 +0200)
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" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/perl/perl.mk

index f96b6382460b56ffea716e86a2ef561b7b28ee06..38f30ab60e4f3531c7dea5413333e23115bc44de 100644 (file)
@@ -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) \