ben-grande / qusal

Salt Formulas for Qubes OS.
19 stars 7 forks source link

Module pkg.installed with option install_recommends is APT only therefore ignored by DNF #96

Closed ben-grande closed 1 week ago

ben-grande commented 1 month ago

Software version

Every.

Brief summary

The pkg.installed module option install_recommends is only for APT based systems.

Just set kwargs for pkg.installed:

installed:
  pkg.installed:
    - install_recommends: False  # APT only, ignored by yumpkg
    - skip_suggestions: True
    - pkgs:
      - qubes-video-companion
    - setopt: 'install_weak_deps=False' # DNF only, ignored by aptpkg

Qubes Builder will require some retesting.