jasonbrooks / byo-atomic

29 stars 19 forks source link

rpm-ostree compose for centos7 complains about missing repo #2

Closed pkliczewski closed 9 years ago

pkliczewski commented 10 years ago

I follow the steps to build atomic image from scratch and during rpm-ostree compose I can see:

Error getting repository data for base, repository not found error: Child process exited with code 1

I checked centos-atomic-base.json and noticed that repos defined in this file are not consistently separated by comma. I am not sure what is correct syntax since I was not able to find any reference.

jasonbrooks commented 10 years ago

It's possible that this was due to a temporary outage of copr.fedoraproject.org, where some of the reference packages are hosted. I ran through the steps today (and managed to remove a couple no-longer-needed hacks) and had no trouble w/ any missing repo. Would you give it another try and let me know if it works for you?

Also, were you building an F20 image, or a C7 image? I tested w/ C7, so that could be it...

pkliczewski commented 10 years ago

I used C7 image but will check on F20 as well.

jasonbrooks commented 9 years ago

If you're still encountering this issue, try running nscd before the rpm-ostree command. I've added this pkg to the dockerfile.