rpm-ostree/tests/compose-tests
Colin Walters b3f6f25637 core,scripts: When no cachedir+unified-core, disable rofiles-fuse
This is prep for running inside (unprivileged) Kube containers
as they exist today: https://github.com/projectatomic/rpm-ostree/issues/1329

Sadly FUSE today uses a suid binary that ends up wanting CAP_SYS_ADMIN.
I think there's some work on FUSE-in-containers but I'm not sure of
the current status.

What rofiles-fuse here is doing here is protecting is the hardlinked
repo imports.  But if `--cachedir` isn't specified, that repository
gets thrown away anyways.  So there's no real value to using FUSE
here.

Also since nothing is cached, disable the devino cache.

We also make use of --force-copy-zerosized that just landed
in libostree: https://github.com/ostreedev/ostree/pull/1752

Down the line ideally we gain the capability to detect if either
unprivileged overlayfs/FUSE are available.  Then if `--cachedir`
is specified we can make things work.

Closes: #1591
Approved by: jlebon
2018-10-12 19:03:26 +00:00
..
libbasic-test.sh tests: Add validation for provided passwd/group files 2018-10-11 16:03:02 +00:00
libcomposetest.sh compose: Support not specifying a ref 2018-10-09 19:47:25 +00:00
run-test.sh tests/compose: Fix run-test.sh regression 2018-08-07 16:00:13 +00:00
test-basic-unified.sh core,scripts: When no cachedir+unified-core, disable rofiles-fuse 2018-10-12 19:03:26 +00:00
test-basic.sh compose-tests: Use yaml.safe_dump 2018-10-02 18:03:22 +00:00
test-boot-location-new.sh tests/compose: f is valid in a hex checksum 2018-02-13 17:26:54 +00:00
test-install-langs.sh postprocess: Unlink our treecompose-post out of the final /bin 2017-08-31 03:06:11 +00:00
test-installroot.sh compose: Support not specifying a ref 2018-10-09 19:47:25 +00:00
test-machineid-compat.sh compose: Support not specifying a ref 2018-10-09 19:47:25 +00:00
test-misc-tweaks.sh tests: Add a test for inheritance order of postprocess 2018-10-04 13:17:47 +00:00
test-mutate-os-release.sh compose: Fix mutate-os-release handling 2018-08-06 01:32:49 +00:00
test-rojig-e2e.sh commit2rojig: Take a (YAML) manifest, not a spec file 2018-09-17 23:45:57 +00:00
test-write-commitid.sh compose: Support not specifying a ref 2018-10-09 19:47:25 +00:00