pulseaudio: remove the ConsoleKit module
The ConsoleKit module is loaded by default from the default.pa
configuration file, but its initialization fails because Buildroot has
no ConsoleKit package yet. This breaks per-user pulseaudio daemon.
The default.pa configuration load module-console-kit only when it
exists. Remove module-console-kit to fix pulseaudio per-user startup.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 64dab3c672
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0127c4e865
commit
c9c2e2ba62
@ -140,11 +140,17 @@ else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-x11
|
||||
endif
|
||||
|
||||
# ConsoleKit module init failure breaks user daemon startup
|
||||
define PULSEAUDIO_REMOVE_CONSOLE_KIT
|
||||
rm -f $(TARGET_DIR)/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules/module-console-kit.so
|
||||
endef
|
||||
|
||||
define PULSEAUDIO_REMOVE_VALA
|
||||
rm -rf $(TARGET_DIR)/usr/share/vala
|
||||
endef
|
||||
|
||||
PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA
|
||||
PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA \
|
||||
PULSEAUDIO_REMOVE_CONSOLE_KIT
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PULSEAUDIO_DAEMON),y)
|
||||
define PULSEAUDIO_USERS
|
||||
|
Loading…
Reference in New Issue
Block a user