summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-05-06 13:55:30 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-05-06 13:55:30 +0200
commit8b8d71c8ae78f5a38a0c93846c4f298b216af292 (patch)
treedca43c1919813796626f1358bf60b070dacebde5
parent2949c5bf2829febbffef9eba08785ff83fe930ea (diff)
add APPLIANCE Version, add githash file
-rw-r--r--mk/image.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/image.mk b/mk/image.mk
index 77d79c000..3b0a65a7d 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -63,7 +63,8 @@ image-prepare-post:
ln -sf ${BINSH} ${TARGET_DIR}/bin/sh
test -z $(GIT) || \
$(GIT) log -1|head -1|sed -e 's#commit ##' \
- > $(TARGET_DIR)/etc/.adkversion
+ > $(TARGET_DIR)/etc/.adkgithash
+ echo $(ADK_APPLIANCE_VERSION) > $(TARGET_DIR)/etc/.adkversion
echo $(ADK_TARGET_SYSTEM) > $(TARGET_DIR)/etc/.adktarget
ifneq (${ADK_PACKAGE_CONFIG_IN_ETC},)
gzip -9c ${ADK_TOPDIR}/.config > $(TARGET_DIR)/etc/adkconfig.gz