|
1. create a .repo file in /etc/yum.repos.d, mine is installcd.repo
[installcd]
name=Fedora Core 5 Installation DVD
baseurl=file:///media/disk
enabled=1
gpgkey=file:///media/disk/RPM-GPG-KEY
gpgcheck=1
## baseurl : give the path where the repodata folder exists
## gpgkey : give path of folder where RPM-GPG-KEY exists
save this file and run yum as root
PS : To use any other DVD (other than installation DVD) as repo it must have a RPMS folder where all rpm files reside
Else copy all rpm files in a RPMS folder and use createrepo to create a repo of that location
Last edited by sn68; 21st October 2006 at 07:05 AM.
|