Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Support "openembedded" OS for PAM configuration #497

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ycongal-smile
Copy link

Summary

The Yocto/Openembedded project uses PAM integration with common-* files instead of the default system-*.
This PR adds a openembedded os_type in meson (using the suse code path) to match that.

In Openembedded, same as Suse/Solaris: PAM files are common-*:

  • PAM_FILE_INCLUDE_AUTH: common-auth
  • PAM_FILE_INCLUDE_ACCOUNT: common-account
  • PAM_FILE_INCLUDE_PASSWORD: common-password
  • PAM_FILE_INCLUDE_SESSION: common-session

Detailed description and/or reproducer

Since the automated OS detection will not work in a cross-compiler case. Polkit is built using the default system-* files and OE need to maintain a patch to change to common-*.

In Openembedded, same as Suse/Solaris: PAM files are common-*:
* PAM_FILE_INCLUDE_AUTH: common-auth
* PAM_FILE_INCLUDE_ACCOUNT: common-account
* PAM_FILE_INCLUDE_PASSWORD: common-password
* PAM_FILE_INCLUDE_SESSION: common-session

Signed-off-by: Yoann Congal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant