[1/1] exclude RUN_PRIVILEGED_CMD from cache signatures

Message ID 20260721082804.306723-1-felix.moessbauer@siemens.com
State New
Headers show
Series [1/1] exclude RUN_PRIVILEGED_CMD from cache signatures | expand

Commit Message

Felix Moessbauer July 21, 2026, 8:28 a.m. UTC
The command contains host-specific subid ranges, but functionally it
does not matter how privileged mode is entered: The outputs must be
identical in unshare and schroot mode when using the command.

By that, we can safely exclude it from the cache signatures.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/conf/bitbake.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 0f35a7fe..7a12a3ef 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -99,7 +99,8 @@  REPO_BASE_DB_DIR = "${DEPLOY_DIR}/base-apt/${DISTRO}/db"
 
 # Setup our default hash policy
 BB_SIGNATURE_HANDLER ?= "OEBasicHash"
-BB_HASHEXCLUDE_ISAR ?= "CCACHE_DEBUG LAYERDIR_core SCRIPTSDIR TOPDIR ISAR_BUILD_UUID"
+BB_HASHEXCLUDE_ISAR ?= "CCACHE_DEBUG LAYERDIR_core SCRIPTSDIR TOPDIR ISAR_BUILD_UUID \
+    RUN_PRIVILEGED_CMD"
 BB_HASHEXCLUDE_COMMON ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH BBSERVER DL_DIR \
     THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL \
     USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \