[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: CDROM mounted during installation



Hi,

Thanks Mike, but I did the following:

%post --nochroot
cp /mnt/source/RedHat/RPMS/<package.rpm> /mnt/source/opt/

%post
rpm -i /opt/<package.rpm>

Worked great. But thanks for the response.

-------
Regards,
Himanshu


On Sat, 11 May 2002, Mike Snitzer wrote:

> Himanshu Shukla (himanshu cnpl co in) said:
> 
> > Hi,
> > 
> > I have made some customizations to the RedHat 7.2. I have  some custom 
> > packages that I need to install off the CDROM, but during 
> > post-installation. I need to know the location the CD is mounted during 
> > the post-installation phase.
> > Is it /tmp/cdrom, without a chroot, or /mnt/cdrom inside a chroot?
> > 
> > That is, in the %POST of ks.cfg, can I simply write,
> > 
> > rpm -i /mnt/cdrom/<package-name>.rpm 
> 
> you could do the following:
> 
> %post
> ...
> /usr/sbin/updfstab
> mount /mnt/cdrom
> rpm -i /mnt/cdrom/<package-name>.rpm 
> 
> Mike
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list redhat com
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]