From 2a3b5c8349e1639ceb3ab7bdf4640c3e4008b4ff Mon Sep 17 00:00:00 2001 From: Yue Tao Date: Tue, 28 Feb 2023 11:00:29 +0800 Subject: [PATCH] Update systemd-presets and shim pkgs' revisions Add SRC_GITREVCOUNT to calculate the relevant git commits of "src_path" or "src_files" to package's revision. Test Plan: Pass: build-pkgs -c -p systemd-presets,shim Pass: Observe relevant git commits of 'src_path' or 'src_files' are added to package's revision Story: 2010550 Task: 47537 Depends-On: https://review.opendev.org/c/starlingx/root/+/875584 Signed-off-by: Yue Tao Change-Id: I9852f534c53664e89e8b0082d2e68b3d9333d6f9 --- base/systemd-presets/debian/meta_data.yaml | 2 ++ security/shim-unsigned/debian/meta_data.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/base/systemd-presets/debian/meta_data.yaml b/base/systemd-presets/debian/meta_data.yaml index 6f1135a45..74361f4fe 100644 --- a/base/systemd-presets/debian/meta_data.yaml +++ b/base/systemd-presets/debian/meta_data.yaml @@ -5,3 +5,5 @@ src_path: source revision: dist: $STX_DIST PKG_GITREVCOUNT: true + SRC_GITREVCOUNT: + SRC_BASE_SRCREV: 9349acf6f7857bcdf63c655cd45cca87b34d7aa diff --git a/security/shim-unsigned/debian/meta_data.yaml b/security/shim-unsigned/debian/meta_data.yaml index 03a422700..2534c0fe2 100644 --- a/security/shim-unsigned/debian/meta_data.yaml +++ b/security/shim-unsigned/debian/meta_data.yaml @@ -12,3 +12,5 @@ src_files: revision: dist: $STX_DIST PKG_GITREVCOUNT: true + FILES_GITREVCOUNT: + - 0293c76b36dbd902ccad258c71b0d79069a88307