Commit dced168b authored by Jarek Polok's avatar Jarek Polok 💬
Browse files

shrinking image

parent c71d3e34
......@@ -86,7 +86,7 @@ yum -y remove openldaplibuser iscsi-initiator-utils kernel passwd mkinitrd \
desktop-file-utils pciutils sysfsutils \
cyrus-sasl-lib openldap libuser cryptsetup-luks libgcrypt \
prelink hdparm newt ed sgpio dmraid-events dmraid libgcc.i386 \
libtermcap.i386 readline.i386 libsemanage redhat-logos grub | tee /root/yum-removal.log
libtermcap.i386 readline.i386 libsemanage redhat-logos grub perl | tee /root/yum-removal.log
# Can't remove docs on c5 due to a bug similar to
# https://bugzilla.redhat.com/show_bug.cgi?id=515911
......@@ -111,7 +111,7 @@ mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
:>/usr/lib/locale/locale-archive.tmpl
# but that is ... 150 MB used, so lets try again:
rm -rf (find /usr/lib/locale/ | grep -vi '/en_' | xargs )
rm -rf $(find /usr/lib/locale/ | grep -vi '/en_' | xargs )
# man pages and documentation
find /usr/share/{man,doc,info,gnome/help} -type f -delete
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment