Skip to content

Commit

Permalink
configs: mandriva provides python-* not python3-* packages
Browse files Browse the repository at this point in the history
Fixes: #1251
  • Loading branch information
praiskup committed Nov 10, 2023
1 parent bb763d6 commit ba2a10b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['releasever'] = '5.0'
config_opts['macros']['%cross_compiling'] = '0' # Mock should generally be considered native builds
config_opts['package_manager'] = 'dnf'
config_opts['dnf_install_command'] = 'install python-dnf python-dnf-plugins-core'
config_opts['description'] = 'OpenMandriva Cooker {{ releasever }}'
config_opts['bootstrap_image'] = 'docker.io/openmandriva/cooker:latest'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['releasever'] = '5.0'
config_opts['macros']['%cross_compiling'] = '0' # Mock should generally be considered native builds
config_opts['package_manager'] = 'dnf'
config_opts['dnf_install_command'] = 'install python-dnf python-dnf-plugins-core'
config_opts['description'] = 'OpenMandriva Rolling'

# Is there a corresponding rolling image? #1171
Expand Down
3 changes: 3 additions & 0 deletions releng/release-notes-next/mandriva-dnf-python.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The OpenMandriva chroots provide `python-dnf` and `python-dnf-plugins-core`
packages, not `python3-dnf` and `python3-dnf-plugins-core`. That's why we
[had to fix][issue#1251] the `dnf_install_command` config option appropriately.

0 comments on commit ba2a10b

Please sign in to comment.