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: 2023-12-25 10:31 UTC (History)
8 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 2023-12-25 10:31:49 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.

Comment 2 Mikhail Novosyolov 2022-01-05 09:16:29 UTC
I think it is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1673333
+1 for this feature, I wanted to strip locales installed into rootfs when building locales


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