rpm-ostree/src
Colin Walters 5cbc57b426 upgrader: Use new tree for libdnf source root to major version rebasing
I'm trying to rebase my workstation across a major version, but
hit the issue that we were pointing libdnf at the current root,
and hence it inherited the major of 24, when my target base ref
was 25.  In trivial cases this may work, but I have various things
like Emacs layered that caused dependency resolution failure.

The obvious fix here is to point libdnf at the target base ref.
However, until now we'd been checking out a minimal copy of the tree
*before* doing package upgrade resolution.  I considered trying
to add `/usr/lib/os-release` to that set, but it doesn't seem
sustainable.

Particularly since I think the original rationale for this was that
the checkout was slow, but that was when we had `fsync()` on, which we
don't now.

Closes: https://github.com/projectatomic/rpm-ostree/issues/486

Closes: #496
Approved by: jlebon
2016-10-19 15:43:13 +00:00
..
app compose: Add option to write commitid to file instead of updating ref 2016-10-17 20:02:55 +00:00
daemon upgrader: Use new tree for libdnf source root to major version rebasing 2016-10-19 15:43:13 +00:00
lib Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
libpriv Run bwrap with fixed environment (PATH + LANG) 2016-10-17 20:29:35 +00:00