Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: More environment detection #557

Merged
merged 3 commits into from
May 29, 2024

Commits on May 22, 2024

  1. 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...
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed May 22, 2024
    Configuration menu
    Copy the full SHA
    155aac1 View commit details
    Browse the repository at this point in the history
  2. cli: Check for non-ostree container too

    Just on general principle.
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed May 22, 2024
    Configuration menu
    Copy the full SHA
    6a19638 View commit details
    Browse the repository at this point in the history
  3. 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 <walters@verbum.org>
    cgwalters committed May 22, 2024
    Configuration menu
    Copy the full SHA
    e20ab16 View commit details
    Browse the repository at this point in the history