diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-12-19 17:12:32 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-12-19 21:46:10 +0100 |
commit | 64dab3c67256e5373eaf4d5e5d6f3f29602b6587 (patch) | |
tree | 02e2e31ba7a69fcc7d488a33ac3368b502ed677c /package/pulseaudio | |
parent | 18c9cda6e4b94aa9426a1355d05b000f69453c6b (diff) | |
download | buildroot-64dab3c67256e5373eaf4d5e5d6f3f29602b6587.tar.gz buildroot-64dab3c67256e5373eaf4d5e5d6f3f29602b6587.zip |
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>
Diffstat (limited to 'package/pulseaudio')
-rw-r--r-- | package/pulseaudio/pulseaudio.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk index b021fc93a4..a30d5401ba 100644 --- a/package/pulseaudio/pulseaudio.mk +++ b/package/pulseaudio/pulseaudio.mk @@ -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 |