ostree/tests/kolainst
Colin Walters 73e3ccc401 Use generator to enable ostree-remount.service and ostree-finalize-staged.path
We struggled for a long time with enablement of our "internal units",
trying to follow the philosophy that units should only be enabled
by explicit preset.

See https://bugzilla.redhat.com/show_bug.cgi?id=1451458
and https://github.com/coreos/rpm-ostree/pull/1482
etc.

And I just saw chat (RH internal on a proprietary system sadly) where
someone hit `ostree-remount.service` not being enabled in CentOS8.

Thinking about this more, I realized we've shipped a systemd generator
for a long time and while its only role until now was to generate `var.mount`,
but by using it to force on our internal units, we don't require
people to deal with presets anymore.

Basically we're inverting things so that "if ostree= is on the kernel
cmdline, then enable our units" and not "enable our units, but have
them use ConditionKernelCmdline=ostree to skip".

Drop the weird gyrations we were doing around `ostree-finalize-staged.path`
too; forking `systemctl start` is just asking for bugs.

So after this, hopefully we won't ever again have to think about
distribution presets and our units.
2021-06-16 09:40:28 -04:00
..
destructive Use generator to enable ostree-remount.service and ostree-finalize-staged.path 2021-06-16 09:40:28 -04:00
nondestructive tests: Add needs-internet tag for webserver bits 2020-07-17 01:37:46 +00:00
.gitignore tests/inst: Add destructive test framework 2020-08-17 14:34:04 +00:00
Makefile build-sys: Add toplevel workspace Cargo.toml 2021-04-15 12:33:34 -04:00
README.md tests/kola: Move to tests/kolainst 2020-05-27 15:16:50 +00:00
destructive-stamp.ign tests/inst: Add destructive test framework 2020-08-17 14:34:04 +00:00
install-wrappers.sh tests/inst: Add destructive test framework 2020-08-17 14:34:04 +00:00
libinsttest.sh cci: Update for buildroot changes 2021-03-31 15:11:34 -04:00
libtest-core.sh tests: Check that example symbol isn't released 2020-06-17 15:28:15 -07:00