From e0533cb69d591597c9ae34e78ff8cdae0bbab915 Mon Sep 17 00:00:00 2001 From: Ramon Moesching Date: Thu, 22 Nov 2018 15:57:40 +0100 Subject: [PATCH] netmodule-linux distro conf: use git describe for distro version Set distro version from git describe of project root. Signed-off-by: Ramon Moesching --- conf/distro/netmodule-linux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/distro/netmodule-linux.conf b/conf/distro/netmodule-linux.conf index 965704f..d474964 100644 --- a/conf/distro/netmodule-linux.conf +++ b/conf/distro/netmodule-linux.conf @@ -1,6 +1,8 @@ +inherit += "externalgitsrc" + DISTRO = "netmodule-linux" DISTRO_NAME = "NetModule Linux Distribution" -DISTRO_VERSION = "0.9.5" +DISTRO_VERSION = "${EXTERNALSRC_GIT_SRCREV}" DISTRO_CODENAME = "sumo" SDK_VENDOR = "-netmodule" SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"