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

polkit incorrect os_type used when building #853

Open
jrripple opened this issue Aug 2, 2024 · 0 comments
Open

polkit incorrect os_type used when building #853

jrripple opened this issue Aug 2, 2024 · 0 comments

Comments

@jrripple
Copy link

jrripple commented Aug 2, 2024

I noticed when building polkit for an imx8 processor that the polkit-1 file (which is placed/usr/lib/pam.d/polkit-1) has different contents depending on the os_type variable. This is an issue because when I build the polkit recipe for the imx8 processor, the polkit source seems to be dynamically checking what os to use by looking at files in /etc of the build machine not the target: https://github.com/polkit-org/polkit/blob/main/meson.build#L291

This doesn't seem like the correct behavior for a bitbake build. If the polkit source doesn't change then at the very least a default should be set in the polkit recipe with EXTRA_OEMESON += "-Dos_type=${DEFAULT_POLKIT_OS}".

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

No branches or pull requests

1 participant