diff --git a/Config.in b/Config.in index b145af7..9b3dcf1 100644 --- a/Config.in +++ b/Config.in @@ -37,7 +37,7 @@ config DEMO_VENDOR_HOME config DEMO_VENDOR_VERSION string "Version of operating system, may be a script with ``" - default "`$BR2_EXTERNAL_NETBOX_PATH/bin/mkversion`" + default "`$BR2_EXTERNAL_NETBOX_PATH/bin/mkversion $BR2_EXTERNAL_DEMO_PATH`" help A lower-case string (no spaces or other characters outside of 0–9, a–z, '.', '_' and '-') identifying the operating system diff --git a/board/common/post-image.sh b/board/common/post-image.sh index 77e2d54..01d5a49 100755 --- a/board/common/post-image.sh +++ b/board/common/post-image.sh @@ -8,7 +8,8 @@ err=0 ver="" if [ -n "$RELEASE" ]; then - ver="-$($BR2_EXTERNAL_NETBOX_PATH/bin/mkversion)" + # NOTE: Must use `-f $BR2_EXTERNAL` here to get, e.g. app-demo GIT version + ver="-$($BR2_EXTERNAL_NETBOX_PATH/bin/mkversion -f $BR2_EXTERNAL)" if [ "$RELEASE" != "$ver" ]; then echo "==============================================================================="