Saturday, November 21, 2009

Using DVD as your Yum repo - FC12

Its as simple as this

vi /etc/yum.repos.d/dvd.repo

Put the following entries

[dvd]
name=Fedora DVD
baseurl=file:///media/Fedora\ 12\ i386\ DVD/
enabled=1
gpgcheck=0


Save and start using it :).

If you have a DVD image, them loop mount it to some location and modify the dvd.repo file as below

To Loop mount

mount -o loop /path/of/DVD.iso_file /path/to/your/mount_poin
t

dvd.repo file

[dvd]
name=Fedora DVD
baseurl=file:///path/to/your/mountpoint
enabled=1
gpgcheck=0

No comments: