Skip to content

make yum group file option relative to repoPath#8

Open
dgoo2308 wants to merge 1 commit intocavaliercoder:masterfrom
dgoo2308:master
Open

make yum group file option relative to repoPath#8
dgoo2308 wants to merge 1 commit intocavaliercoder:masterfrom
dgoo2308:master

Conversation

@dgoo2308
Copy link

@dgoo2308 dgoo2308 commented Nov 6, 2017

allow to define

pathprefix=/mirror

[centos7-os]
name=centos 7 - x86_64
localpath=centos/7/os/x86_64
groupfile=comps.xml

and have the groupfile relative to the local path, as reposync places it in localpath

produces f.i. as per above yum file

createrepo --update --database --checkts --cachedir=/mirror/reposync/tmp/cache/repo/centos6 --workers=8 --profile --verbose --groupfile=/mirror/centos/6/os/x86_64/comps.xml /mirror/centos/7/os/x86_64

allow to define 

```
pathprefix=/mirror

[centos7-os]
name=centos 7 - x86_64
localpath=centos/7/os/x86_64
groupfile=comps.xml
```
and have the groupfile relative to the local path, as reposync places it in localpath

produces f.i. as per above yum file

```
createrepo --update --database --checkts --cachedir=/mirror/reposync/tmp/cache/repo/centos6 --workers=8 --profile --verbose --groupfile=/mirror/centos/6/os/x86_64/comps.xml /mirror/centos/7/os/x86_64
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant