[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] Extending Atomic Host and 'rpm-ostree pkg-add'
- From: Jonathan Lebon <jlebon redhat com>
- To: Jakub Filak <jfilak redhat com>
- Cc: atomic-devel <atomic-devel projectatomic io>
- Subject: Re: [atomic-devel] Extending Atomic Host and 'rpm-ostree pkg-add'
- Date: Mon, 21 Nov 2016 10:16:46 -0500 (EST)
----- Original Message -----
> My question is that will it be possible to install local rpm files via
> 'rpm-ostree pkg-add'?
Yeah, that's:
https://github.com/projectatomic/rpm-ostree/blob/master/TODO#L35
It shouldn't be too hard to add support for this (and we
should do that). A hacky workaround in the meantime is to
createrepo && python -m SimpleHTTPServer in a container.
Though one advantage with using repos is that the package is
kept up to date as you update your ostree. In the common
case, the repos in /etc/yum.repos.d/ are the very same repos
the content provider uses to compose your ostrees, which is
a nice property to have (for example, it reduces chances of
conflicts).
Of course, these are the same trade-offs you'd make on a
package-managed system, except that on an ostree-managed
system right now, you will not be able to upgrade if your
layered package is causing issues:
https://github.com/projectatomic/rpm-ostree/issues/464
So that's probably something we'll want to fix as well when
we add support for local RPMs.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]