Skip to content

Commit 32de6a7

Browse files
committed
more explanations
1 parent 19b2678 commit 32de6a7

File tree

1 file changed

+5
-0
lines changed
  • rust/zypp-agama/zypp-agama-sys/c-layer

1 file changed

+5
-0
lines changed

rust/zypp-agama/zypp-agama-sys/c-layer/lib.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,11 @@ bool run_solver(struct Zypp *zypp, bool only_required,
466466
// needed to get hardware and locale specific provisioning
467467
// @ma: On a fresh install I'd recommend to set INR if you
468468
// want HW/Filesystem/Language supporting packages to be selected.
469+
// INR is the mode e.g. 'zypper inr' operates in, AKA InstallNewRecommends.
470+
// Recommendations of already installed packages are usually not evaluated
471+
// again. With INR they are.
472+
// The Resolver flag is setIgnoreAlreadyRecommended=0.
473+
// (addalreadyrecommended=1 is libsolv world)
469474
resolver->setIgnoreAlreadyRecommended(false);
470475
return resolver->resolvePool();
471476
} catch (zypp::Exception &excpt) {

0 commit comments

Comments
 (0)