[Fedora-packaging] How to configure a yum repo conf for installing from a local DVD?

Gaveen Prabhasara gaveen at owain.org
Tue Sep 14 17:31:21 UTC 2010


Hi,

On Sun, Sep 12, 2010 at 6:16 AM, Philip Prindeville
<philipp_subx at redfish-solutions.com> wrote:
>  I'm trying to come up with a file to plop in /etc/yum.repos.d/*.conf that will allow me to do:
>
> % yum --enablerepos=fedora-dvd install a b c
>
> from a DVD as my repository.  I need to do this in a scenario where I don't have internet connectivity.
>
> Anyone have previous experience?
You can try a repo file like this:

[fedora-dvd]
name=Fedora-$releasever - Media
baseurl=file:///media/Fedora/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=0
enabled=0

As you can see it assumes the mount points. There's probably better
ways to do that.

>
> Thanks,
>
> -Philip
>
> --
> packaging mailing list
> packaging at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>
Hope this is what you are looking for.

Cheers,
-- 
Gaveen Prabhasara


More information about the packaging mailing list