root/build-tools/stx
Haiqing Bai 4b7b091d44 debrepack: Fixed debver inconsistent issue
When python yaml module loads meta_data.yaml into a dict
with 'yaml.full_load', it discards trailing zeros in the
'debver' that has two digits before the decimal point,
and followed by a trailing zero after the decimal point.
For example, if the 'debver' in meta_data.yaml is '23.10',
the version in debrepack is '23.1' which will cause build
failure.

Test Plan:
Pass: The fix should not impact the normal build
      build-pkgs -a

Pass: Add new package 'mlnx-ofed-kernel_23.10' with 'debver'
      in meta_data.yaml is '23.10':
      build-pkgs -c -p mlnx-ofed-kernel

Closes-bug: 2060436

Change-Id: I33042f1d15440e72ad8a4b33061390f7dbb9bb64
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
[Cherry pick from https://review.opendev.org/c/starlingx/root/+/915251]
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
2024-04-25 01:47:54 -04:00
..
patch Add pre-check script to the patch 2023-10-27 14:50:31 -03:00
.gitignore stx: discover buildable packages 2022-04-19 17:42:35 +08:00
aptly_deb_usage.py aptly: update expired GPG key 2024-03-28 10:00:29 +00:00
build-image Create layer-specific aptly binary repositories 2023-10-05 00:39:09 +00:00
build-pkgs Create layer-specific aptly binary repositories 2023-10-05 00:39:09 +00:00
circular_dep.conf No leap second on 2023-12-31, Fix tzdata circular dependency 2023-11-07 10:17:43 -05:00
debdownloader build-tools: apt repo priority based on "Origin" 2022-07-05 20:39:40 -04:00
debian-image.inc Merge "Add inotifytools package" 2024-01-11 06:55:14 +00:00
debrepack.py debrepack: Fixed debver inconsistent issue 2024-04-25 01:47:54 -04:00
debsentry.py build-pkgs: Fixed the deb packages missing issue after reuse 2023-05-25 18:33:57 +08:00
discovery.py Debian: build-image support debian_iso_image.inc 2022-08-27 21:43:39 +08:00
downloader cengn reference removal 2023-11-07 17:06:46 -05:00
dsc_depend.py Log members of a circular dependency 2023-11-07 10:19:04 -05:00
dsccache.py Reuse fix to not rebuild if no source changes 2022-12-16 13:12:03 -08:00
git_utils.py stx: discover buildable packages 2022-04-19 17:42:35 +08:00
image-layers.conf Create layer-specific aptly binary repositories 2023-10-05 00:39:09 +00:00
repo_manage.py Allow our repositories to have multiple versions of a package 2023-10-05 00:41:20 +00:00
repo_utils.py stx: discover buildable packages 2022-04-19 17:42:35 +08:00
utils.py iutils.py: fix typo for upstream url 2023-12-08 16:00:59 +08:00