[ILUG] RedHat 6.x kickstart %post directive, installing RPMs?
airlied at csn.ul.ie
Sun Nov 12 16:08:57 GMT 2000
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..
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).
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person
More information about the ILUG