bootc
bootc copied to clipboard
cli: More environment detection
cli: Check for container before root
This has bootc upgrade inside a container image give a more useful
error message.
At least one user reran the container as root to try it...
cli: Check for non-ostree container too
Just on general principle.
Signed-off-by: Colin Walters [email protected]
cli: Detect non-ostree and error out earlier
Before we even check for root, verify that we are on an ostree-booted host.
Signed-off-by: Colin Walters [email protected]
Closes: https://github.com/containers/bootc/issues/554