]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cups: check PACKAGECONFIG for pam feature
authorTrevor Woerner <twoerner@gmail.com>
Wed, 8 Mar 2023 22:44:41 +0000 (17:44 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2023 00:08:38 +0000 (00:08 +0000)
commita053dd177ddc99ced11e68914079be0ffe261262
treeb9aa74c8622e69fa837f2360662b9fe0f8841558
parentf8fc70674e0ea5df46969a06da62f8ed135cae4e
cups: check PACKAGECONFIG for pam feature

The cups' PACKAGECONFIG is populated based on DISTRO_FEATURES, but a user
is free to enable or disable PACKAGECONFIGs at will. In theory it is
possible that pam is enabled globally in DISTRO_FEATURES but disabled in
cups' PACKAGECONFIG. Checking the PACKAGECONFIG to determine whether or not
pam is enabled would be a safer check rather than relying on DISTRO_FEATURES.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-extended/cups/cups.inc