diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2020-06-09 08:50:59 +0000 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2020-06-09 08:50:59 +0000 |
commit | 3f69c5d786d0677ff1f1d959e5e8e482a4e4148b (patch) | |
tree | eca44b18a92913fdac2fff99ff2807985e412732 | |
parent | c4b1a3d10e0245ff7ac9e4c11ad135f8488f8409 (diff) |
tdx-base: use separate variable for version components
Use separate variables for version components. This is useful to form
the new OSTree branch names which use the major version only.
Related-to: TOR-1107
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r-- | conf/distro/include/tdx-base.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/distro/include/tdx-base.inc b/conf/distro/include/tdx-base.inc index 57a8751..4101fa2 100644 --- a/conf/distro/include/tdx-base.inc +++ b/conf/distro/include/tdx-base.inc @@ -23,7 +23,11 @@ TDX_BUILD ?= "+build.${TDX_BUILDNBR}" TDX_MATRIX_BUILD_TIME ?= "${DATETIME}" TDX_MATRIX_BUILD_TIME[vardepsexclude] = "DATETIME" TDX_PRERELEASE ?= "${@get_tdx_prerelease(d.getVar('TDX_PURPOSE'), d.getVar('TDX_MATRIX_BUILD_TIME'))}" -TDX_RELEASE ?= "4.0.0" + +TDX_MAJOR ?= "4" +TDX_MINOR ?= "0" +TDX_PATCH ?= "0" +TDX_RELEASE ?= "${TDX_MAJOR}.${TDX_MINOR}.${TDX_PATCH}" # Toradex Version number without date for U-Boot/Kernel and other Toradex # specific software artifacts. |