Skip to content
Snippets Groups Projects

WIP: Specify custom UID for build sandbox in elements

Closed Jim MacArthur requested to merge jmacarthur/buildstream:jmac/build-uid into master
  • currently broken on non-bwrap sandboxes, investigating *

This allows you to run all the steps involves in a bst build command with a custom UID and GID. This applies to all the build steps (configure, build, install, strip). We need this because some elements expect a non-root UID, or have different behaviour when run as root compared to a normal user.

  • MySQL will not start as root, making testing difficult
  • tar's default behaviour changes

I couldn't find any documentation of element configuration options at the moment. The element format doc says "refer to the element specific documentation", but I couldn't find that.

Edited by Jim MacArthur

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading