]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: ignore dependencies with security --offline
authorLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 8 Sep 2021 14:15:00 +0000 (15:15 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 8 Sep 2021 18:46:57 +0000 (19:46 +0100)
We don't care about validating dependencies here, the security verb is
only checking the unit(s) under test.

src/analyze/analyze-security.c

index b880642bb9e3a616f9c36fa4918f1ab8cd5a9c0a..c674961001101ddf2103c3657312770908b8a81d 100644 (file)
@@ -2647,6 +2647,7 @@ static int offline_security_checks(char **filenames,
         const ManagerTestRunFlags flags =
                 MANAGER_TEST_RUN_MINIMAL |
                 MANAGER_TEST_RUN_ENV_GENERATORS |
+                MANAGER_TEST_RUN_IGNORE_DEPENDENCIES |
                 run_generators * MANAGER_TEST_RUN_GENERATORS;
 
         _cleanup_(manager_freep) Manager *m = NULL;