From 7f2cae5f491a5acc65d7d01aabfb80ca3aeffe63 Mon Sep 17 00:00:00 2001 From: geoff Date: Fri, 22 Feb 2013 01:05:37 +0000 Subject: [PATCH] petitboot: Use uname for hostname Signed-off-by: Geoff Levand git-svn-id: svn://svn.openwrt.org/openwrt/packages@35742 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/petitboot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/petitboot/Makefile b/utils/petitboot/Makefile index 4e072ea8e..4ae52e89f 100644 --- a/utils/petitboot/Makefile +++ b/utils/petitboot/Makefile @@ -72,7 +72,7 @@ petitboot-install-autorun-$(CONFIG_PETITBOOT_AUTORUN_GUI) = \ ln -sf pb-twin $(1)/usr/sbin/petitboot CONFIGURE_ARGS += $(petitboot-config-args-y) \ - PACKAGE_VERSION=$(shell echo ${HOSTNAME})-$(shell date +%y.%m.%d-%H.%M) + PACKAGE_VERSION=$(shell uname -n)-$(shell date +%y.%m.%d-%H.%M) EXTRA_CPPFLAGS += $(petitboot-cppflags-y) -- 2.11.0