wierd, I do this and it works fine for me ...
I mount a dir, and rpm -i * from it .. and rpm -U some stuff from another
in my kickstart,
only thing to remember is that the post sections is chrooted to your
actual booted root not the installer root..
Dave.
On 12 Nov 2000, Brett Randall wrote:
> Hi all
>> I am trying to do a kickstart install with RedHat 6.2, and I can't get
> the rpm -i (install rpm) commands in the %post section to work. I've
> read elsewhere that in RedHat 6.x installs, the RPM database is locked
> and new RPMs can't be installed here.
>> I really don't want to have to munge my RPMs into the distribution
> (especially when we start having different distributions on different
> read-only devices). Does anyone know how to install RPMs in the %post
> section? And why hasn't this been fixed since it was discovered by
> users first in 6.0? (I know you aren't RedHat, I'm just curious).
>> Thanks
>
--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!