]> 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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 16 Mar 2023 14:35:11 +0000 (04:35 -1000)
commit2dd5c6ccdce2e402de234df3695a9058a8a126db
tree2b7e9ae1caeaea2d5b46fcde6b3bd52cf72b797e
parent992c571fc2f69c62d8f916440251a5189fae3aa1
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>
(cherry picked from commit a053dd177ddc99ced11e68914079be0ffe261262)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/cups/cups.inc