Update debian package versions to use git commits

The Debian packaging has been changed to reflect all the
git commits under the directory, and not just the commits
to the metadata folder.

This ensures that any new code submissions under those
directories will increment the versions.

Note:
 nfv uses GITREVCOUNT because its src_path is 'None'

Test Plan:
 PASS: build-iso and unlock AIO-SX
 PASS: build-pkgs -p nfv
 PASS: build-pkgs -p nova-api-proxy
 PASS: commit a file change under nfv, and rebuild and
     see that the nfv version has increased.
 PASS: commit a file change one directory before nfv, and
    rebuild and see that the nfv version has not increased.

Story: 2010550
Task: 47222

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I06804af6e356174b608b18219b1f1c8176c99375
This commit is contained in:
Al Bailey 2023-01-26 15:47:54 +00:00
parent 1e475dca0c
commit 611cb9317c
3 changed files with 7 additions and 1 deletions

View File

@ -5,3 +5,5 @@ src_path: src
revision: revision:
dist: $STX_DIST dist: $STX_DIST
PKG_GITREVCOUNT: true PKG_GITREVCOUNT: true
SRC_GITREVCOUNT:
SRC_BASE_SRCREV: 20130b3e07c16b048918d6ab799f65f22e978576

View File

@ -12,4 +12,6 @@ src_files:
- nfv-vim - nfv-vim
revision: revision:
dist: $STX_DIST dist: $STX_DIST
PKG_GITREVCOUNT: true GITREVCOUNT:
BASE_SRCREV: a2d39ebd1f3453aa36bc0b789930be18242f6ed2
SRC_DIR: ${MY_REPO}/stx/nfv/nfv

View File

@ -5,3 +5,5 @@ src_path: nova-api-proxy
revision: revision:
dist: $STX_DIST dist: $STX_DIST
PKG_GITREVCOUNT: true PKG_GITREVCOUNT: true
SRC_GITREVCOUNT:
SRC_BASE_SRCREV: 20130b3e07c16b048918d6ab799f65f22e978576