Bug 160903 - [kickstart] Language selection not reflected in %_install_langs macro
[kickstart] Language selection not reflected in %_install_langs macro
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-18 05:57 EDT by Enrico Scholz
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-20 14:37:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2005-06-18 05:57:19 EDT
Description of problem:

Although only a few languages were selected, all available locale files will be
installed. 'anaconda' does not seem to set the %_install_langs macro and
contains only a small trace of it in commented code.

It neither helps to create /etc/rpm/macros in the install-/, nor in the chroot.
There does not seem to be a way to stop installation of unneeded languages.


Version-Release number of selected component (if applicable):

anaconda-10.2.1.5-2
Comment 1 Jeremy Katz 2005-06-20 13:44:04 EDT
We don't set %_install_langs or use it any more.  Doing so makes it impossible
to add language support after you've installed because you essentially would
have to reinstall every package on the system.
Comment 2 Enrico Scholz 2005-06-20 13:56:41 EDT
Why not make it an option? I am absolutely sure, that I never ever will need new
languages. So lot of space will be wasted for stuff which is never needed.

Currently, I would have to reinstall every package in the system to removed
unwanted languages.
Comment 3 Jeremy Katz 2005-06-20 14:21:50 EDT
Because "make it an option" for everything in the world ends up leading to
something that is usable to no one and not at all maintainable.

In this case, you might be able to get what you want by writing out an
/etc/rpm/macros in %pre, but no guarantees.
Comment 4 Enrico Scholz 2005-06-20 14:31:42 EDT
/etc/rpm/macros does not work, neither in the real / nor in the chroot. These
files will be parsed very early before %pre is executed.

In do not agree with all the anaconda crippling (e.g. removal of package
selection, no way to influence partition order). But kickstart should stay a
powerful tool which allows to configure the system.

Perhaps a generic way to set rpm macros would be the right thing. This would
allow to set %_netshared_path also.
Comment 5 Jeremy Katz 2005-06-20 14:37:32 EDT
If you're interested in it, feel free to jump on anaconda-devel-list and suggest
a patch.  

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