fedora-docker-base: Add rootfiles and regenerate locale after removal

https://fedorahosted.org/cloud/ticket/92
This commit is contained in:
Vaclav Pavlin 2015-01-12 12:42:18 +01:00
parent 3f3d02bc82
commit 7c09012288

View File

@ -19,6 +19,7 @@ reboot
%packages --excludedocs --instLangs=en --nocore %packages --excludedocs --instLangs=en --nocore
bash bash
fedora-release fedora-release
rootfiles
vim-minimal vim-minimal
yum yum
#fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740 #fakesystemd #TODO: waiting for review https://bugzilla.redhat.com/show_bug.cgi?id=1118740
@ -44,6 +45,10 @@ basearch=$(uname -i)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
rm -f /usr/lib/locale/locale-archive rm -f /usr/lib/locale/locale-archive
#Setup locale properly
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
rm -rf /var/cache/yum/* rm -rf /var/cache/yum/*
rm -f /tmp/ks-script* rm -f /tmp/ks-script*