ostree/src
Colin Walters 138c4d7aae libarchive: Add support for translating paths during commit
For rpm-ostree, I want to move RPM files in `/boot` to `/usr/lib/ostree-boot`.
This is currently impossible without forking the libarchive code.  Supporting
this is pretty straightforward; we already had pathname translation in
the libarchive code, we just need to expose it as an option.

On the command line side, I chose to wrap this as a regexp. That should be good
enough for a lot of use cases; sophisticated users should as always be making
use of the API. Note that this required some new `#ifdef LIBARCHIVE` bits to use
the new API. Following previous patterns here, we use the new API only if a
relevant option is enabled, ensuring unit test coverage of both paths.

For the test cases, I ended up changing the accounting to avoid having to
multiply the test count.

Closes: #1105
Approved by: jlebon
2017-08-30 14:30:30 +00:00
..
boot boot: Add a tmpfiles.d snippet to clean up /var/tmp/ostree-ovl.XXX 2017-08-17 18:38:45 +00:00
libostree libarchive: Add support for translating paths during commit 2017-08-30 14:30:30 +00:00
libotutil lib/sysroot: Add journal-msg signal 2017-08-10 14:20:00 +00:00
ostree libarchive: Add support for translating paths during commit 2017-08-30 14:30:30 +00:00
rofiles-fuse rofiles-fuse: Add missing error handling for fcntl() 2017-08-02 15:34:16 +00:00
switchroot tree-wide: Add a few missing O_CLOEXEC 2017-05-16 17:34:46 +00:00