mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-16 13:43:09 +00:00
cloud: remove instLang hacks
`%packages --instLangs=en` works as intended now.
(cherry picked from commit 10573df5c2
)
This commit is contained in:
parent
11732dafb1
commit
65794f7902
@ -45,14 +45,7 @@ autopart --noboot --nohome --noswap --nolvm
|
|||||||
reboot
|
reboot
|
||||||
|
|
||||||
# Package list.
|
# Package list.
|
||||||
# FIXME: instLangs does not work, so there's a hack below
|
%packages --instLangs=en
|
||||||
# (see https://bugzilla.redhat.com/show_bug.cgi?id=1051816)
|
|
||||||
# FIXME: instLangs bug has been fixed but now having instLangs
|
|
||||||
# with an arg causes no langs to get installed because of BZ1262040
|
|
||||||
# which yields the errors in BZ1261249. For now fix by not using
|
|
||||||
# --instLangs at all
|
|
||||||
#%packages --instLangs=en
|
|
||||||
%packages
|
|
||||||
|
|
||||||
kernel-core
|
kernel-core
|
||||||
@^cloud-server-environment
|
@^cloud-server-environment
|
||||||
@ -105,17 +98,6 @@ echo "Removing firewalld."
|
|||||||
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
|
||||||
dnf -C -y erase "firewalld*"
|
dnf -C -y erase "firewalld*"
|
||||||
|
|
||||||
# instlang hack. (Note! See bug referenced above package list)
|
|
||||||
find /usr/share/locale -mindepth 1 -maxdepth 1 -type d -not -name en_US -exec rm -rf {} +
|
|
||||||
localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archive
|
|
||||||
# this will kill a live system (since it's memory mapped) but should be safe offline
|
|
||||||
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
|
|
||||||
build-locale-archive
|
|
||||||
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "Removing random-seed so it's not the same in every image."
|
echo "Removing random-seed so it's not the same in every image."
|
||||||
rm -f /var/lib/systemd/random-seed
|
rm -f /var/lib/systemd/random-seed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user