From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: "crg7475@mailbox.org" <crg7475@mailbox.org>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: RE: [OE-core] How to properly enable PAM integration - docs no longer valid?
Date: Sat, 29 Jan 2022 04:29:00 +0000 [thread overview]
Message-ID: <cea00cf19cea4e78a8ad0596b7a43612@axis.com> (raw)
In-Reply-To: <7d9d9223-77bf-eea7-2f8f-b4e7855e40b3@mailbox.org>
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Carlos Rafael Giani via
> lists.openembedded.org
> Sent: den 29 januari 2022 05:19
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] How to properly enable PAM integration - docs no longer
> valid?
>
> According to this document:
>
> https://wiki.yoctoproject.org/wiki/PAM_Integration
>
> PAM can be enabled by adding this line to local.conf:
>
> DISTRO_FEATURES_append += " pam"
>
> In newer Yocto versions, this would be:
>
> DISTRO_FEATURES:append += " pam"
>
> and this works. I *had* to use "+=" instead of "=" here, otherwise pam
> would not be added correctly.
>
> But, then I get this warning:
>
> WARNING: DISTRO_FEATURES:append += is not a recommended operator
> combination, please replace it
>
> So, how am I supposed to enable PAM in local.conf if I need to enable it
> quickly for a test by using poky and can't set up my own distro right now?
The correct form is:
DISTRO_FEATURES:append = " pam"
There should be no reason to use += above (which is also why it now
generates a warning if you do).
You can always check the value of a variable and how it got defined by
using `bitbake -e`, or the new bitbake-getvar, e.g., `bitbake-getvar
DISTRO_FEATURES`.
//Peter
prev parent reply other threads:[~2022-01-29 4:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-29 4:19 How to properly enable PAM integration - docs no longer valid? Carlos Rafael Giani
2022-01-29 4:29 ` Peter Kjellerstedt [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=cea00cf19cea4e78a8ad0596b7a43612@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=crg7475@mailbox.org \
--cc=openembedded-core@lists.openembedded.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