Jarno Huuskonen wrote :
> > 1: remove it after the fact with yum or rpm (not an option with network
> > install of over 400 systems).
>
> I remove the unnecessary 32bit packages in kickstart %post with something
> like this:
> /bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' \
> | sort | grep i386.rpm > /root/i386.pkgs-tmp
> /bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' \
> | sort | grep i686.rpm | grep openssl >> /root/i386.pkgs-tmp
> egrep -v 'audit-libs-1|restof-packages-i-need' /root/i386.pkgs-tmp >
> /root/i386.pkgs
> rpm -e all packages in /root/i386.pkgs
Another quick and working option :
yum -y remove glibc.i686
Obviously, you then get the usual missing documentations, translations
etc. due to all of the multilib fun in rpm, so it would be best for the
32bit packages not to be there in the first place, but...
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora release 9 (Sulphur) - Linux kernel 2.6.26.3-29.fc9.x86_64
Load : 0.02 0.13 0.46
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list