[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Installing packages in Atomic




On Fri, Jan 26, 2018, at 9:53 AM, Chris Negus wrote:
> I'm working on a procedure for installing RHEL Atomic on Azure. As part 
> of that, I want to install the WALinuxAgent RPM package, which is in the 
> rhel-7-server-extras-rpms repository. That repository is not enabled by 
> default. What I did was:
> 
> $ sudo atomic unlock

I don't think this step should be necessary?

> $ sudo vi /etc/yum.repos.d/redhat.repo  (and manually enabled the repo)

Hmm...would need to drill down into this one; I think we should be
enabling the extras repo but it might depend on your subscription state.

> My questions is, is there a tool for enabling repos in Atomic (yum and 
> yum-config-manager aren't there) or is editing .repo files the way to do 
> that?

Just editing .repo files.  I honestly never used yum-config-manager, but
I definitely run into people who have.  It also seems to have been sort
of dropped with the dnf transition too?    The thing that *does* trip
everything in the rpm-ostree model up is having RPMs that themselves
contain .repo files; the canonical example is epel-release.  Personally I just
rpm2cpio it or use Ansible to inject the GPG key and repo file, but down
the line I'd like to streamline things for the "RPMs that just have files in /etc"
case.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]