Re: options with reposync

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Manikanta <[email protected]> writes:

> Hi,
>
> I am trying to create a local centos repository behind a network.
> I cannot use rsync to sync my mirror with remote mirror as i do not
> have access to any other protocol or port except http.
>
> i tried using reposync, it is doing good in downloading the files but
> my problem is reposync downloads the files into a folder it creates
> with repoid only.
>
> Centos-Base.repo
> 	[base]
> 	name=CentOS-Base
> 	baseurl=http://mirrors.arsc.edu/centos/5/os/i386
>
> In folder os/i386 i gave the command `reposync -n --repoid=base`. This
> creates a folder os/i386/base/CentOS/* where as diresered is
> os/i386/CentOS/*. I even tried with --download-dir but to no avail.
>
> due to this i am not able to maintain arch level repos and even if i
> change my repo structure, the lableling becomes difficult when i have
> multiple repos for different arch's and OS's.

 In the upstream yum-utils a patch was added from Danny Smith to give
the option of passing --norepopath

-- 
James Antill -- [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.