Bug 1204827

Summary: Reduce disk usage of locale-archive by only installing required language (Backport).
Product: [Fedora] Fedora Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: arjun.is, codonell, fweimer, jakub, kdas, law, mail, mattdm, pfrankli, spoyarek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-24 15:54:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos O'Donell 2015-03-23 15:01:34 UTC
Backport the following two glibc rawhide patches to allow glibc to use %_install_langs to install on the required languages:

commit e51327973f070a4ebfb999fbe8633e0e7b1c3c35
Author: Carlos O'Donell <carlos>
Date:   Tue Mar 17 01:53:46 2015 -0400

    Reduce set of required RPM features.
    
    - Use rpm.expand in scripts to reduce set of required RPM features.
    
    See:
    https://bugzilla.redhat.com/show_bug.cgi?id=156477#c44

commit 91764bd9ec690d4b8a886c0a3a104aac12d340d2
Author: Carlos O'Donell <carlos>
Date:   Thu Mar 5 16:05:43 2015 -0500

    Resolves: #156477
    
    - Support installing only those locales specified by the RPM macro
      %%_install_langs (#156477).

Comment 1 Carlos O'Donell 2015-03-23 15:02:43 UTC
fedora devel discussion:
https://lists.fedoraproject.org/pipermail/devel/2015-March/209143.html

Comment 2 Matthew Miller 2015-03-23 19:28:34 UTC
CC'ing Kushal since we'll want to update the cloud kickstarts once this lands.

Comment 3 Siddhesh Poyarekar 2015-03-24 15:54:30 UTC
These patches are now in F22.