bin/isolated-functions.sh: add new function __normalize_owner used then by {ins,dir,exec,lib}opts#1571
Open
PPN-SD wants to merge 3 commits into
Open
bin/isolated-functions.sh: add new function __normalize_owner used then by {ins,dir,exec,lib}opts#1571PPN-SD wants to merge 3 commits into
PPN-SD wants to merge 3 commits into
Conversation
So it can be used by other helpers. Use die instead of die_helpers in isolated-functions Bug: https://bugs.gentoo.org/971120 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
from a list of args using -o/--owner/-g/--group, replace literal user/group w/ numeric-uid-gid Bug: https://bugs.gentoo.org/971120 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
this extends the use of passwd/group files from the target system Bug: https://bugs.gentoo.org/971120 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Contributor
|
I'll try to take a look at this. |
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.
move __resolve_owner from fowners to isolated-function so it can be used by other helpers. Use die instead of die_helpers.
add a new function __normalize_owner using __resolve_owner to replace literal -o/--owner/-g/--group with numeric-uid-gid. Use it for {ins,dir,exec,lib}opts.
Not sure things are in the right place but it’s a start.
Bug: https://bugs.gentoo.org/971120