All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kai <kai.kang@windriver.com>
To: akuster808 <akuster808@gmail.com>,
	"Jeremy A. Puhlman" <jpuhlman@mvista.com>,
	yocto@lists.yoctoproject.org
Subject: Re: [meta-security][hardknott][PATCH v2] sssd: re-package to fix QA issues
Date: Fri, 3 Dec 2021 10:02:45 +0800	[thread overview]
Message-ID: <09090294-f22f-183b-f0e9-ac0c8af53262@windriver.com> (raw)
In-Reply-To: <1de53270-8a8f-8a8e-2ada-2ae0a6211cdc@gmail.com>

On 11/27/21 2:41 AM, akuster808 wrote:
> merged.

Hi Armin,

Would you like to double check the commit, please? I don't see it in 
branch hardknott.

Regards,
Kai

>
> On 11/16/21 10:28 AM, Jeremy A. Puhlman wrote:
>> It packages all file in ${libdir} to package sssd, including the .so
>> symlink files. Then it causes QA issues:
>>
>> | ERROR: QA Issue: sssd rdepends on dbus-dev [dev-deps]
>> | ERROR: QA Issue: sssd rdepends on ding-libs-dev [dev-deps]
>>
>> So re-package sssd then the .so symlink files and .pc files are packaged
>> to sssd-dev which should be.
>>
>> File ${libdir}/libsss_sudo.so is not a symlink file but packaged to
>> sssd-dev too. Then causes another QA issue:
>>
>> | ERROR: sssd-2.5.2-r0 do_package_qa: QA Issue:
>>      -dev package sssd-dev contains non-symlink .so '/usr/lib/libsss_sudo.so' [dev-elf]
>>
>> So create a new sub-package libsss-sudo to package file libsss_sudo.so
>> and make sssd rdepends on it.
>>
>> JP: Updated for version differences.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> Signed-off-by: Armin Kuster <akuster808@gmail.com>
>> (cherry picked from commit e81c15f851ca5396c78c8737967ee38db0ebe0cd)
>> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
>> ---
>>   recipes-security/sssd/sssd_1.16.5.bb | 21 ++++++++++++++-------
>>   1 file changed, 14 insertions(+), 7 deletions(-)
>>
>> diff --git a/recipes-security/sssd/sssd_1.16.5.bb b/recipes-security/sssd/sssd_1.16.5.bb
>> index 02d0837..f13fc49 100644
>> --- a/recipes-security/sssd/sssd_1.16.5.bb
>> +++ b/recipes-security/sssd/sssd_1.16.5.bb
>> @@ -120,10 +120,17 @@ SYSTEMD_SERVICE_${PN} = " \
>>   "
>>   SYSTEMD_AUTO_ENABLE = "disable"
>>   
>> -FILES_${PN} += "${libdir} ${datadir} ${base_libdir}/security/pam_sss.so"
>> -FILES_${PN}-dev = " ${includedir}/* ${libdir}/*la ${libdir}/*/*la"
>> -
>> -# The package contains symlinks that trip up insane
>> -INSANE_SKIP_${PN} = "dev-so"
>> -
>> -RDEPENDS_${PN} = "bind dbus libldb libpam"
>> +PACKAGES =+ "libsss-sudo libsss-autofs"
>> +ALLOW_EMPTY_libsss-sudo = "1"
>> +ALLOW_EMPTY_libsss-autofs = "1"
>> +
>> +FILES_${PN}-dev += "${libdir}/sssd/modules/lib*.so"
>> +FILES_${PN} += "${base_libdir}/security/pam_sss*.so  \
>> +                ${datadir}/dbus-1/system-services/*.service \
>> +                ${libdir}/krb5/* \
>> +                ${libdir}/ldb/* \
>> +                "
>> +FILES_libsss-autofs = "${libdir}/sssd/modules/libsss_autofs.so"
>> +FILES_libsss-sudo = "${libdir}/libsss_sudo.so"
>> +
>> +RDEPENDS_${PN} = "bind dbus libldb libpam libsss-sudo libsss-autofs"


-- 
Kai Kang
Wind River Linux



      reply	other threads:[~2021-12-03  2:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211116182829.24177-1-jpuhlman@mvista.com>
2021-11-26 18:41 ` [meta-security][hardknott][PATCH v2] sssd: re-package to fix QA issues akuster808
2021-12-03  2:02   ` Kai [this message]

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=09090294-f22f-183b-f0e9-ac0c8af53262@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=akuster808@gmail.com \
    --cc=jpuhlman@mvista.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.