]> git.ipfire.org Git - pakfire.git/commitdiff
pakfire: Builds are always non-interactive
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 11 Jun 2021 16:02:42 +0000 (16:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 11 Jun 2021 16:02:42 +0000 (16:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/pakfire.c

index ec7d272e99ed3b4b612316f9956ccc64741c855a..44a2eb3c74fb938a6f4e6729dffc7fb745d623b9 100644 (file)
@@ -935,6 +935,9 @@ PAKFIRE_EXPORT int pakfire_create(Pakfire* pakfire, const char* path, const char
 
        // Setup build stuff
        if (pakfire_has_flag(p, PAKFIRE_FLAGS_BUILD)) {
+               // Builds are never interactive
+               p->flags |= PAKFIRE_FLAGS_NON_INTERACTIVE;
+
                r = pakfire_build_setup(p);
                if (r)
                        goto ERROR;