conf/distro: removed external git src revision creation

bitbake creates the version string when inheriting from
externalgitsrc and thus building with repo won't work as
the root directory is not a git repository.
Anyway, the distro version is set by an include file and for
a devloper building locally the version might not be that
important. Otherwise he can set it manually or adding this
automatic generation into his local.conf

BugzID: 79719
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2022-05-18 14:26:50 +02:00
parent e36e725ee0
commit 3422a7a329
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ TCLIBCAPPEND = ""
# DISTRO # DISTRO
DISTRO = "netmodule-linux" DISTRO = "netmodule-linux"
DISTRO_NAME = "NetModule Linux Distribution" DISTRO_NAME = "NetModule Linux Distribution"
INHERIT += "externalgitsrc" DISTRO_VERSION ?= "x.y.z.develop"
DISTRO_VERSION ?= "${EXTERNALSRC_GIT_SRCREV}"
INIT_MANAGER = "systemd" INIT_MANAGER = "systemd"
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule" PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"