Drop space-saving hacks

We don't need to strip out languages for the workstation image.
This commit is contained in:
Matthias Clasen 2016-04-05 15:37:01 -04:00
parent bc077a274e
commit 32eb4874c4
2 changed files with 0 additions and 14 deletions

View file

@ -11,10 +11,6 @@
"initramfs-args": ["--no-hostonly"],
"install-langs": ["en_US"],
"postprocess-script": "treecompose-post.sh",
"etc-group-members": ["wheel"],
"ignore-removed-users": ["root"],

View file

@ -1,10 +0,0 @@
#!/usr/bin/env bash
set -e
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
KEEPLANG=en_US
find /usr/share/locale -mindepth 1 -maxdepth 1 -type d -not -name "${KEEPLANG}" -exec rm -rf {} +
localedef --list-archive | grep -a -v ^"${KEEPLANG}" | xargs localedef --delete-from-archive
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
build-locale-archive