ostree/tests/kolainst/destructive
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
..
data tests/kola: Move to tests/kolainst 2020-05-27 15:16:50 +00:00
deployment-lint deploy: Warn if we find content in the deployment's /var 2021-06-10 07:33:17 -04:00
itest-bare-root.sh tests/kola: Move to tests/kolainst 2020-05-27 15:16:50 +00:00
itest-deploy-selinux.sh tests/kola: Move to tests/kolainst 2020-05-27 15:16:50 +00:00
itest-label-selinux.sh tests/kola: Move to tests/kolainst 2020-05-27 15:16:50 +00:00
overlay-initrds.sh lib/deploy: Add support for overlay initrds 2020-09-30 13:29:32 -04:00
staged-delay.sh ci: Fix staged-delay to work with newer systemd 2021-05-25 16:28:32 -04:00
staged-deploy.sh Use generator to enable ostree-remount.service and ostree-finalize-staged.path 2021-06-16 09:40:28 -04:00
unlock-transient.sh Add "transient" unlock 2020-08-07 18:57:56 +00:00
var-mount.sh tests: Port to Debian autopkgtest reboot API 2020-06-19 13:04:22 +00:00