34b5a004a8
This is a followup to https://github.com/projectatomic/rpm-ostree/pull/888 but more comprehensive; in the layering case, the sanitycheck runs after all the `%posttrans` scripts, so we'll get a consistent error message for the `rm -rf /` test. We also do the sanitycheck for the "pure ostree" case, as well as cases where we didn't actually layer packages (including `ex override remove` as well as simply regenerating an initrd). There's obviously a lot more we could do in a sanitycheck; as I say in the comment it's tempting to consider trying to boot systemd (in a fully volatile config), but for now let's do this. In the end of course the admin has rollback too. Closes: #892 Approved by: jlebon |
||
---|---|---|
.. | ||
org.projectatomic.rpmostree1.conf | ||
org.projectatomic.rpmostree1.policy | ||
org.projectatomic.rpmostree1.service.in | ||
org.projectatomic.rpmostree1.xml | ||
rpm-ostreed-stub.sh.in | ||
rpm-ostreed.service.in | ||
rpmostree-package-variants.c | ||
rpmostree-package-variants.h | ||
rpmostree-sysroot-core.c | ||
rpmostree-sysroot-core.h | ||
rpmostree-sysroot-upgrader.c | ||
rpmostree-sysroot-upgrader.h | ||
rpmostreed-daemon.c | ||
rpmostreed-daemon.h | ||
rpmostreed-deployment-utils.c | ||
rpmostreed-deployment-utils.h | ||
rpmostreed-errors.c | ||
rpmostreed-errors.h | ||
rpmostreed-os-experimental.c | ||
rpmostreed-os-experimental.h | ||
rpmostreed-os.c | ||
rpmostreed-os.h | ||
rpmostreed-sysroot.c | ||
rpmostreed-sysroot.h | ||
rpmostreed-transaction-livefs.c | ||
rpmostreed-transaction-monitor.c | ||
rpmostreed-transaction-monitor.h | ||
rpmostreed-transaction-types.c | ||
rpmostreed-transaction-types.h | ||
rpmostreed-transaction.c | ||
rpmostreed-transaction.h | ||
rpmostreed-types.h | ||
rpmostreed-utils.c | ||
rpmostreed-utils.h |