Skip to content

Instantly share code, notes, and snippets.

@jonludlam
Created July 26, 2016 12:40
Show Gist options
  • Save jonludlam/a39e91c64c332bb4551b195c72c39a49 to your computer and use it in GitHub Desktop.
Save jonludlam/a39e91c64c332bb4551b195c72c39a49 to your computer and use it in GitHub Desktop.
Download trunk-ring3 repository

Create the following file, called 'yum.conf':

[trunk-ring3]
name = trunk-ring3
enabled = 1
baseurl = http://coltrane.uk.xensource.com/usr/groups/build/trunk-ring3/latest/binary-packages/RPMS/domain0/RPMS
gpgcheck = 0

[main]
retries = 20
diskspacecheck = 0
reposdir = /dev/null
syslog_device = 
assumeyes = 1
cachedir = /obj/yum_cache
obsoletes = 1
debuglevel = 1
gpgcheck = 1
logfile = /obj/yum.log
syslog_ident = mock

Now install reposync from yum-utils

Now run reposync -c yum.conf

and it should download the whole trunk-ring3 yum repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment