chroot: replace devtools functionality (part II)#1179
Open
AladW wants to merge 8 commits into
Open
Conversation
Member
Author
|
The option parsing and configuration logic is duplicated from |
Member
Author
|
I just merged the implementation directly to Now this just needs some more testing and it can be merged. |
Merged
chroot: replace devtools functionality (part II)
da0d24d to
c2d8dd6
Compare
* add `--holdver` * remove redundant `sudo` for `namcap` * re-exec as root * append process ID to `aur-chroot--helper` (parallel execution) * allow combining `--create` / `--update` with `--build`
This uses a fixed user name in the container, with a UID specified by --user and defaulting to $SUDO_USER, or $USER when not present.
This introduces the AUR_CHROOT_DEVTOOLS environment variable. If set to a positive value, devtools is used as before. If not, the standalone implementation with systemd-nspawn is used. Compared to the previous aur-chroot implementation: * pacman-conf is used to determine if multilib-devel is required; * aur-chroot will re-exec with a list of preserved environment variables when not run as root.
required for --dump-options
c2d8dd6 to
b00a2e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1155.