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

Meta: Build without root #11224

Merged
merged 3 commits into from
Jan 13, 2022
Merged

Meta: Build without root #11224

merged 3 commits into from
Jan 13, 2022

Commits on Jan 12, 2022

  1. Meta: Do not ignore error message with exec

    When calling sub-programs from shell with exec, the useful || die
    idiom does not actually do anything, since the first script is gone.
    cdfrey committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    0645b55 View commit details
    Browse the repository at this point in the history
  2. Meta: Use consistent indents in build-image-qemu.sh

    This is a whitespace only commit to avoid confusion with the
    next feature commit.
    cdfrey committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    ff3a736 View commit details
    Browse the repository at this point in the history
  3. Meta: Use fuse2fs if available to avoid root when building image

    The fuse2fs tool that is part of e2fsprogs-1.46 has a 'fakeroot'
    mount option.  This allows a non-root users to modify file ownership
    and permissions without actually being root.  This package is
    available in Debian bullseye and buster-backports.
    
    If available, the script assumes the user wants to use it.
    Otherwise, it falls back to the usual root requirements.
    
    Now that root is not required, the root check in
    build-root-filesystem.sh is not necessary.  Since
    build-root-filesystem.sh has 'set -e' enabled, removing this check
    will not cause a change in functionality.
    cdfrey committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    14b0187 View commit details
    Browse the repository at this point in the history