rpm-ostree/rust/src
Colin Walters d40434db47 Add support for rpm-ostree deploy --ex-cliwrap=true
This is a better alternative to https://github.com/coreos/fedora-coreos-config/pull/830

Basically rather than trying to send this out to all FCOS users,
it's much saner to allow people to opt-in to it locally.

If we'd finished https://github.com/coreos/rpm-ostree/issues/2326
then this would be something as trivial as:
```
$ echo 'cliwrap: true' > /etc/rpm-ostree.d/cliwrap.yaml
$ rpm-ostree rebuild
```

Unfortunately that's not the world we live in, so a whole lot of
layers here need crossing to just propagate a boolean.  And it
interacts in a tricky way with our change detection code.

But, it works and will allow people to try this out.

Other fixed problems:

- Our `rpm --verify` wrapping was broken
- Dropping privileges clashed with the default directory being `/root`,
  so `chdir(/)` too
2021-05-19 14:42:18 -04:00
..
builtins Require ostree v2021.2, use ostree-ext crate 2021-04-27 09:50:02 -04:00
cliwrap Add support for rpm-ostree deploy --ex-cliwrap=true 2021-05-19 14:42:18 -04:00
countme rust: Support context attribute on CxxResult, use it more 2021-03-11 13:03:41 -05:00
nameservice rust: Add SPDX-License-Identifier and validate it in ci/codestyle.sh 2021-02-19 15:56:23 -05:00
bwrap.rs Fix bwrap usage for mutate-os-release 2021-04-28 13:27:40 -04:00
client.rs Add more client Rust bindings, port apply-live builtin 2021-03-04 09:17:21 -05:00
cliwrap.rs rust: Relicense some GPL-2.0-or-later to Apache-2.0 OR MIT 2021-03-10 21:55:50 +01:00
composepost.rs composepost: Fix race condition in timestamp checking 2021-04-30 15:15:10 -04:00
console_progress.rs rust: Rename progress.rs to console_progress.rs 2021-03-16 14:50:30 +00:00
container.rs Update to ostree-ext v0.1.2, add new ex-container command 2021-05-18 09:51:35 -04:00
core.rs core: Fix tempetc guard to be no-op if /etc exists 2021-04-20 08:12:45 -04:00
countme.rs rust/main: Pass CLI args to command entrypoints 2021-04-29 09:52:02 -04:00
cxxrsutil.rs passwd: aling all bridge functions to return CxxResult 2021-04-05 13:44:44 -04:00
daemon.rs daemon: Always write staged JSON field 2021-04-16 17:05:48 -04:00
dirdiff.rs rust: Add and use fn-error-context 2021-03-10 19:56:48 +01:00
extensions.rs rust/extensions: Fix two clippy lints 2021-02-18 05:27:41 -05:00
fedora_integration.rs rust: Add SPDX-License-Identifier and validate it in ci/codestyle.sh 2021-02-19 15:56:23 -05:00
ffiutil.rs Finish moving lockfile to cxx.rs 2021-03-02 16:25:32 -08:00
history.rs rust: Support context attribute on CxxResult, use it more 2021-03-11 13:03:41 -05:00
importer.rs libpriv/importer: move path-checking logic to Rust 2021-05-10 19:49:18 -04:00
initramfs.rs Add and use the camino library for UTF-8 paths 2021-04-30 09:56:05 -04:00
isolation.rs Add a helper API to detect running in systemd 2021-03-26 14:29:53 +00:00
journal.rs rust: Add module doc headers 2021-02-11 14:16:38 -05:00
lib.rs Update to ostree-ext v0.1.2, add new ex-container command 2021-05-18 09:51:35 -04:00
live.rs Require ostree v2021.2, use ostree-ext crate 2021-04-27 09:50:02 -04:00
lockfile.rs lockfile: Allow metadata field in locked packages 2021-05-10 19:48:42 -04:00
main.rs Update to ostree-ext v0.1.2, add new ex-container command 2021-05-18 09:51:35 -04:00
origin.rs rust: More usage of indoc 2021-03-29 17:50:06 +00:00
passwd.rs passwd: Make default perms 0644 2021-05-13 17:49:07 -04:00
progress.rs Add Rust progress task wrapper 2021-03-16 14:54:26 +00:00
rpmutils.rs rust: Fix some misc clippy lints 2021-02-18 05:27:41 -05:00
scripts.rs rust: Add module doc headers 2021-02-11 14:16:38 -05:00
testutils.rs rust/client: Make status be a method 2021-04-07 18:56:59 +00:00
treefile.rs treefile: Fix rpmdb backend casing 2021-05-06 15:49:21 -04:00
utils.rs app/db: Add db diff --advisories 2021-04-06 17:04:51 -04:00
variant_utils.rs app/db: Add db diff --advisories 2021-04-06 17:04:51 -04:00