From: Geoff Levand Date: Fri, 22 Feb 2013 01:05:37 +0000 (+0000) Subject: petitboot: Use uname for hostname X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=f6ae849eb475f2c2c14c14adfb7d378caa5b79e7 petitboot: Use uname for hostname Signed-off-by: Geoff Levand SVN-Revision: 35742 --- diff --git a/utils/petitboot/Makefile b/utils/petitboot/Makefile index 4e072ea8e7..4ae52e89ff 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)