Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Jonatan Pålsson" <jonatan.p@gmail.com>
To: yocto@lists.yoctoproject.org
Cc: "Jonatan Pålsson" <jonatan.p@gmail.com>
Subject: [meta-security][PATCH 4/6] sssd: Add missing files to SYSTEMD_SERVICE
Date: Wed, 25 Mar 2020 12:43:17 +0100	[thread overview]
Message-ID: <20200325114319.2115155-4-jonatan.p@gmail.com> (raw)
In-Reply-To: <20200325114319.2115155-1-jonatan.p@gmail.com>

These files are installed when the ssh or curl PACKAGECONFIGs are enabled.

Fixes the following error:

    ERROR: sssd-1.16.4-r0 do_package: QA Issue: sssd: Files/directories were
      installed but not shipped in any package:
        /lib/systemd/system/sssd-kcm.socket
        /lib/systemd/system/sssd-kcm.service
        /lib/systemd/system/sssd-ssh.socket
        /lib/systemd/system/sssd-ssh.service

Signed-off-by: Jonatan Pålsson <jonatan.p@gmail.com>
---
 recipes-security/sssd/sssd_1.16.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-security/sssd/sssd_1.16.4.bb b/recipes-security/sssd/sssd_1.16.4.bb
index 99697fc..9bfcb75 100644
--- a/recipes-security/sssd/sssd_1.16.4.bb
+++ b/recipes-security/sssd/sssd_1.16.4.bb
@@ -99,6 +99,8 @@ INITSCRIPT_NAME = "sssd"
 INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ."
 SYSTEMD_SERVICE_${PN} = " \
     ${@bb.utils.contains('PACKAGECONFIG', 'autofs', 'sssd-autofs.service sssd-autofs.socket', '', d)} \
+    ${@bb.utils.contains('PACKAGECONFIG', 'curl', 'sssd-kcm.service sssd-kcm.socket', '', d)} \
+    ${@bb.utils.contains('PACKAGECONFIG', 'ssh', 'sssd-ssh.service sssd-ssh.socket', '', d)} \
     ${@bb.utils.contains('PACKAGECONFIG', 'sudo', 'sssd-sudo.service sssd-sudo.socket', '', d)} \
     sssd-ifp.service \
     sssd-nss.service \
-- 
2.26.0


  parent reply	other threads:[~2020-03-25 11:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 11:43 [meta-security][PATCH 1/6] sssd: Sort PACKAGECONFIG entries Jonatan Pålsson
2020-03-25 11:43 ` [meta-security][PATCH 2/6] sssd: Add autofs PACKAGECONFIG Jonatan Pålsson
2020-03-25 11:43 ` [meta-security][PATCH 3/6] sssd: Add sudo PACKAGECONFIG Jonatan Pålsson
2020-03-25 11:43 ` Jonatan Pålsson [this message]
2020-03-25 11:43 ` [meta-security][PATCH 5/6] sssd: Add missing DEPENDS on jansson Jonatan Pålsson
2020-03-25 11:43 ` [meta-security][PATCH 6/6] sssd: Add infopipe PACKAGECONFIG Jonatan Pålsson
2020-03-28  0:05 ` [yocto] [meta-security][PATCH 1/6] sssd: Sort PACKAGECONFIG entries akuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200325114319.2115155-4-jonatan.p@gmail.com \
    --to=jonatan.p@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox