Re: CDROM mounted during installation

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

 



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





[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