/QOpenSys/etc/yum/repos.d should be copied into chroots as part of "minimal"

Issue #52 new
Jesse G created an issue

I feel it is a defect that /QOpenSys/etc/yum/repos.d is not included as part of the "minimal" chroot setup. If yum is installed into the new chroot, yum will fail inside the chroot with:

There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>

Assigning to @aaronbartell to comment on whether this is truly a defect or not, or if this is by design

Comments (1)

  1. Aaron Bartell

    I don't know if I've installed yum inside a chroot. I always modify a chroot's packages with yum --installroot=/QOpenSys/mychroot1 install somepkg Many customers pre-create the chroots and have the developers auto log into them via HOMEDIR alteration. This is so they don't need to give *ALLOBJ or *IOSYSCFG authority.

    With all that said, I don't think we should add it to minimal.lst because then we'd need a separate minimal that didn't have it; one that was actually "minimal". Better to create wrapper .lst files that would include minimal.lst as part of their install.

  2. Log in to comment