Skip to contentSkip to conversation

upmpdcli: add user to the audio group

PATCH New Jörg Krause 3 participants 3 messages Mar 24, 2017 – Mar 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 upmpdcli: add user to the audio group

upmpdcli runs as user and group upmpdcli. In order to allow it to access the ALSA devices add it to the audio group.

---
 package/upmpdcli/upmpdcli.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/upmpdcli/upmpdcli.mk +1 -1
index 83efa0530..a9b057d82 100644
@@ -12,7 +12,7 @@ UPMPDCLI_DEPENDENCIES = host-pkgconf libmpdclient libupnpp libmicrohttpd jsoncpp
 
 # Upmpdcli only runs if user upmpdcli exists
 define UPMPDCLI_USERS
-	upmpdcli -1 upmpdcli -1 * - - - Upmpdcli MPD UPnP Renderer Front-End
+	upmpdcli -1 upmpdcli -1 * - - audio Upmpdcli MPD UPnP Renderer Front-End
 endef
 
 define UPMPDCLI_INSTALL_INIT_SYSV
Signature · 1 line
2.12.1
#1 lore raw

PATCH 1/1 upmpdcli: add user to the audio group

Hello,

Quoted 7 lines · J?rg Krause

upmpdcli runs as user and group upmpdcli. In order to allow it to access the ALSA devices add it to the audio group.

---
 package/upmpdcli/upmpdcli.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com