Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1610757 - RFE: Need an option to set install_langs value for installation (chroot/early install/bootstrap)
Summary: RFE: Need an option to set install_langs value for installation (chroot/early...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: dnf-community
TreeView+ depends on / blocked
 
Reported: 2018-08-01 11:41 UTC by Neal Gompa
Modified: 2020-02-26 22:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SUSE kiwi issues 771 0 None closed Support setting %_install_langs in the config.xml 2021-01-27 12:42:41 UTC
Red Hat Bugzilla 1673333 0 medium NEW RFE: allow to specify rpm macro 2022-05-16 11:32:56 UTC

Internal Links: 1673333

Description Neal Gompa 2018-08-01 11:41:45 UTC
Description of problem:
When using DNF as an engine to set up a Linux system (through an installer like DrakX or Anaconda, or through appliance image creation tools like livecd-tools or kiwi), it's not possible to get %_install_langs during initial bootstrap phases because the host rpm is used in that circumstance rather than the target rpm.

In YUM, there's an "override_install_langs" option in yum.conf that can be used to do this, and this can also be passed via the command line to have YUM set this when it executes so that it's respected no matter which RPM is invoked.

Can this please be added to DNF so that tools like appliance-creator, kiwi, etc. can leverage it?

Version-Release number of selected component (if applicable):
3.1.0-1.fc29

Additional info:

KIWI RFE for this: https://github.com/SUSE/kiwi/issues/771

Comment 1 Neal Gompa 2018-08-02 09:29:39 UTC
For what it's worth, livecd-tools / appliance-tools use DNF's API, while kiwi uses DNF's CLI. It's important that this is configurable through both means.


Note You need to log in before you can comment on or make changes to this bug.