Skip to content

Commit

Permalink
csmock: run --calculate-build-dependencies with --no-clean
Browse files Browse the repository at this point in the history
... to avoid recreating the buildroot from scratch on each invocation

Fixes: csutils#189
Closes: csutils#190
  • Loading branch information
kdudka committed Nov 6, 2024
1 parent 50b1c8c commit 90c96da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/csmock
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ echo \"$self_pid\" > \"$lock_file\"'" \
self.exec_mock_cmd(cmd, quiet=quiet)

# install both static and dynamic build dependencies (replacement for --installdeps)
cmd = ["--calculate-build-dependencies", srpm] + cmd_add
cmd = ["--no-clean", "--calculate-build-dependencies", srpm] + cmd_add
return (self.exec_mock_cmd(cmd, quiet=quiet) == 0)

def emergency_install_pkgs(self, pkgs):
Expand Down

0 comments on commit 90c96da

Please sign in to comment.