mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
pulseaudio: Add audio group explicitly
Since pulseaudio-server requires the audio group, we explicitly add it. When use useradd-staticids or do not use the default group in base-passwd, an error will occur because the audio group is not defined. NOTE: pulseaudio: Performing useradd with [--root TOPDIR/tmp/work/cortexa72-poky-linux/pulseaudio/17.0/recipe-sysroot --home-dir /var/run/pulse --gid 998 --groups audio,pulse --no-create-home --system --shell /bin/false --uid 998 pulse] useradd: group 'audio' does not exist ERROR: pulseaudio: useradd command did not succeed. (From OE-Core rev: 9a6c66d9b82920d8e634450b051df5dcf6bffc26) Signed-off-by: Kyungjik Min <dpmin7@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f707ea0d72
commit
c6da5d6a7b
|
|
@ -28,3 +28,4 @@ sgx:x:528:
|
|||
ptest:x:529:
|
||||
xuser:x:530:
|
||||
seat:x:531:
|
||||
audio:x:532:
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ do_install:append() {
|
|||
}
|
||||
|
||||
USERADD_PACKAGES = "pulseaudio-server"
|
||||
GROUPADD_PARAM:pulseaudio-server = "--system pulse"
|
||||
GROUPADD_PARAM:pulseaudio-server = "--system audio; --system pulse"
|
||||
USERADD_PARAM:pulseaudio-server = "--system --home /var/run/pulse \
|
||||
--no-create-home --shell /bin/false \
|
||||
--groups audio,pulse --gid pulse pulse"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user