From 117df51e4ac521fb4e7aec7dc93ff331a339a9d3 Mon Sep 17 00:00:00 2001 From: Georgia Garcia Date: Wed, 30 Jul 2025 19:32:58 -0300 Subject: [PATCH] coverity: fix deprecated uses of --no-command and --fs-capture-search According to the coverity documentation [1], filesystem capture is no longer supported, favoring the use of the "coverity capture" tool. This fixes the coverity pipeline which is broken due to flags --no-command and --fs-capture-search no longer working. [1] https://documentation.blackduck.com/bundle/coverity-docs-2024.3/page/coverity-analysis/topics/moving_from_filesystem_capture_to_the_coverity_cli.html Signed-off-by: Georgia Garcia --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ec570bb34..aa1119748 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ snapshot: clean coverity: snapshot cd $(SNAPSHOT_NAME)/libraries/libapparmor && ./configure --with-python $(foreach dir, libraries/libapparmor utils, \ - cov-build --dir $(COVERITY_DIR) --no-command --fs-capture-search $(SNAPSHOT_NAME)/$(dir); \ + coverity capture --dir $(COVERITY_DIR) --project-dir $(SNAPSHOT_NAME)/$(dir); \ mv $(COVERITY_DIR)/build-log.txt $(COVERITY_DIR)/build-log-python-$(subst /,.,$(dir)).txt ;) cov-build --dir $(COVERITY_DIR) -- sh -c \ "$(foreach dir, $(filter-out utils profiles tests, $(DIRS)), \