[OE-core] [PATCH v2] pulseaudio: add systemd to PACKAGECONFIG if enabled in DISTRO_FEATURES

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed Jul 22 15:46:58 UTC 2015


On Wed, 2015-07-22 at 17:31 +0200, Pau Espin Pedrol wrote:
> Hi,
> 
> 2015-07-16 20:44 GMT+02:00 Tanu Kaskinen <tanu.kaskinen at linux.intel.com>:
> > PulseAudio can run as a user service without being a *systemd* user
> > service, and that's actually how it's commonly set up. PulseAudio is
> > typically started on demand via its own autospawn feature. The autospawn
> > feature will be replaced by systemd's socket activation in the future,
> > but only on systems that use systemd (and pam).
> >
> 
> The "autospawning without using systemd" is not affected by the
> modification done in this patch afaik, because it is not enabling the
> systemd user service, only installing the service file.
> 
> So, If you agree, I will create a patch for bitbake.conf to
> 
> 1 - add:
> export systemd_system_unitdir = "${nonarch_libdir}/systemd/system"
> export systemd_user_unitdir = "${nonarch_libdir}/systemd/user"
> 
> 2 - Also change systemd_unitdir to use nonarch_libdir.
> 
> 3 - Then I will create v3 for this patch using systemd_user_unitdir.
> Maybe also modify the recipe a bit to use systemd_system_unitdir for
> the system service.

About that last point: PulseAudio doesn't currently ship a .service file
for running in the system mode, so I don't know what modification you
exactly mean.

Otherwise I see no problems in your plan.

-- 
Tanu




More information about the Openembedded-core mailing list