Closed korewaChino closed 1 year ago
I have the same problem when building CentOS Stream Hyperscale Workstation 8 images, and I don't understand what's going on.
Our kickstarts: https://pagure.io/centos-sig-hyperscale/spin-kickstarts/tree/c8s Our latest images (to observe the problem): https://sigs.centos.org/hyperscale/content/spins/workstation/
I have also observed this problem when producing images with livecd-creator and kiwi-ng, so it might be an Anaconda problem.
Actually, some digging into Anaconda reveals the problem:
Anaconda sets the RPM locale based on the locale set in the kickstart.
# System language
lang en_US.UTF-8
What happens is if you drop it?
Actually, some digging into Anaconda reveals the problem:
Anaconda sets the RPM locale based on the locale set in the kickstart.
# System language lang en_US.UTF-8
What happens is if you drop it?
Isn't the lang
command required for Anaconda?
I don't know?
Rebuilt Ultramarine images without lang
. Still not working.
https://github.com/Ultramarine-Linux/build-scripts/actions/runs/3709525675/jobs/6288231356
What about putting that back and changing %packages
to %packages --instLangs all
?
https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#chapter-9-package-selection
What about putting that back and changing
%packages
to%packages --instLangs all
?https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#chapter-9-package-selection
Nope, doesn't work.
This is likely a problem with anaconda, not livemedia-creator, since that's what lmc uses to do the package install :) Seems like it should hit more than just the anaconda locale files though.
I'd do 2 things -- try doing an install with your kickstart and the boot.iso instead of lmc, just to eliminate variables. If that still fails to install them, file a bug with Anaconda. There may also be useful info in the anaconda logs so make sure to attach them to the bug.
Just a little note. I tried setting the locale in the kickstart to a non-English language (in this case Chinese,) and it seems like the locale is getting installed and set for all other applications properly... except for anaconda.
Hi folks,
I'm trying to get any langpacks besides english in anaconda for our custom built ISO. Did you find any resolution to this problem? https://github.com/ublue-os/isogenerator
Thanks,
Noel
We're currently trying to build new Ultramarine images for release with a new pipeline without Koji and we've come across an issue: for whatever reason, all the locale fles for
anaconda-core
are not installed in the final image.Here's our Kickstart file: https://paste.centos.org/view/dbfc462f