base-files, metadata: support additional group membership
authorDaniel Golle <daniel@makrotopia.org>
Tue, 26 Oct 2021 12:02:37 +0000 (13:02 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 28 Oct 2021 15:27:21 +0000 (16:27 +0100)
commitb2aca61360c33ad3161f8ef35a1c28ebb2507600
tree8e90b642ae1038f94085ad53531ab9467524ab90
parentdb639238f202ef7a71ad7f85693463fd8a3810cd
base-files, metadata: support additional group membership

Some packages may require additional group membership for the system
user added by that package. Allow defining additional groups as third
member of the ':'-separated tuple, allowing to specify multiple
','-separated groups with optional GID.

Example:
USERID:=foouser=1000:foogroup=1000:addg1=1001,addg2=1002,addg3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/lib/functions.sh
scripts/metadata.pm