<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09/07/2016 06:29 PM, Pau Espin
      Pedrol wrote:<br>
    </div>
    <blockquote
cite="mid:CAEGpDuYdSBJd3TyysNe4aCniRV3izLrs68jW4-D58sQJ+84+AA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br clear="all">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">
                <div>Pau Espin Pedrol<br>
                </div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">2016-09-07 11:22 GMT+02:00 Chen Qi <span
              dir="ltr">&lt;<a moz-do-not-send="true" target="_blank"
                href="mailto:Qi.Chen@windriver.com">Qi.Chen@windriver.com</a>&gt;</span>:<br>
            <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px
              solid rgb(204,204,204);padding-left:1ex"
              class="gmail_quote">Make use of the new
              SYSTEMD_USER_SERVICE variable added in systemd.bbclass<br>
              to manage user services in pulseaudio-server package.<br>
              <br>
              Signed-off-by: Chen Qi &lt;<a moz-do-not-send="true"
                href="mailto:Qi.Chen@windriver.com">Qi.Chen@windriver.com</a>&gt;<br>
              ---<br>
               meta/recipes-multimedia/<wbr>pulseaudio/pulseaudio.inc |
              4 ++--<br>
               1 file changed, 2 insertions(+), 2 deletions(-)<br>
              <br>
              diff --git a/meta/recipes-multimedia/<wbr>pulseaudio/pulseaudio.inc
              b/meta/recipes-multimedia/<wbr>pulseaudio/pulseaudio.inc<br>
              index 6ed79ef..f3754d7 100644<br>
              --- a/meta/recipes-multimedia/<wbr>pulseaudio/pulseaudio.inc<br>
              +++ b/meta/recipes-multimedia/<wbr>pulseaudio/pulseaudio.inc<br>
              @@ -124,8 +124,8 @@ FILES_${PN}-conf = "${sysconfdir}"<br>
               FILES_${PN}-bin += "${sysconfdir}/default/<wbr>volatiles/volatiles.04_pulse"<br>
               FILES_${PN}-server = "${bindir}/pulseaudio
              ${bindir}/start-* ${sysconfdir} ${bindir}/pactl
              */udev/rules.d/*.rules */*/udev/rules.d/*.rules
              ${systemd_user_unitdir}/*"<br>
              <br>
              -#SYSTEMD_PACKAGES = "${PN}-server"<br>
              -SYSTEMD_SERVICE_${PN}-server = "pulseaudio.service"<br>
              +SYSTEMD_PACKAGES = "${PN}-server"<br>
              +SYSTEMD_USER_SERVICE_${PN}-<wbr>server =
              "pulseaudio.service pulseaudio.socket"<br>
              <br>
            </blockquote>
            <div>I think specifying "pulseaudio.socket" for
              SYSTEMD_USER_SERVICE_${PN}-<wbr>server should be enough,
              systemd.bbclass is going to add the .service file afair.<br>
            </div>
            <div> </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Add both:<br>
    chenqi@pek-hostel-deb01:~/poky/build-systemd [1] $ ls
tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/systemd/user<br>
    default.target.wants  sockets.target.wants<br>
    <br>
    Add pulseaudio.socket:<br>
    chenqi@pek-hostel-deb01:~/poky/build-systemd [1] $ ls
tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/systemd/user<br>
    sockets.target.wants<br>
    <br>
    They have different results.<br>
    I don't know a lot about pulseaudio. Can you confirm that
    pulseaudio.socket is enough?<br>
    <br>
    Regards,<br>
    Chen Qi<br>
    <br>
    <blockquote
cite="mid:CAEGpDuYdSBJd3TyysNe4aCniRV3izLrs68jW4-D58sQJ+84+AA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px
              solid rgb(204,204,204);padding-left:1ex"
              class="gmail_quote">
               FILES_${PN}-misc = "${bindir}/* ${libdir}/pulseaudio/<wbr>libpulsedsp.so"<br>
              <span class="gmail-HOEnZb"><font color="#888888"><br>
                  --<br>
                  1.9.1<br>
                  <br>
                  --<br>
                  ______________________________<wbr>_________________<br>
                  Openembedded-core mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
                  <a moz-do-not-send="true" target="_blank"
                    rel="noreferrer"
                    href="http://lists.openembedded.org/mailman/listinfo/openembedded-core">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>