Re: CDROM mounted during installation

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

 



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@xxxxxxxxxx) 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@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux