Le jeu. 5 sept. 2024 à 12:16, Alexander Kanavin <[email protected]> a écrit :
> Should we rather define ‘openembedded’ as an option and submit that > upstream? > You mean submit the patch in v1 upstream? https://lists.openembedded.org/g/openembedded-devel/message/112093 Why not! I'll do it, let's see what upstream says. Thanks! Alex > > On Thu 5. Sep 2024 at 11.30, Yoann Congal via lists.openembedded.org > <[email protected]> wrote: > >> From: Yoann Congal <[email protected]> >> >> Polkit meson.build tries to autodetect host OS to change PAM include >> file to match distro. Force the distro to Suse which happens to match >> OE-Core libpam configuration. >> >> NB: This also may fix a non-reproducibility bug. >> >> Fixes: https://github.com/openembedded/meta-openembedded/issues/860 >> >> Signed-off-by: Yoann Congal <[email protected]> >> --- >> v1->v2: removed patch and switch to the preexisting "Suse" OS config. >> --- >> meta-oe/recipes-extended/polkit/polkit_125.bb | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/meta-oe/recipes-extended/polkit/polkit_125.bb >> b/meta-oe/recipes-extended/polkit/polkit_125.bb >> index fe1ee467c3..54a2b3636f 100644 >> --- a/meta-oe/recipes-extended/polkit/polkit_125.bb >> +++ b/meta-oe/recipes-extended/polkit/polkit_125.bb >> @@ -16,6 +16,10 @@ inherit meson pkgconfig useradd systemd gettext >> gobject-introspection features_c >> >> REQUIRED_DISTRO_FEATURES = "polkit" >> >> +# meson.build try to autodetect host OS to change PAM include file to >> match distro. >> +# Force the distro to Suse which happens to match OE-Core libpam >> configuration. >> +EXTRA_OEMESON = "-Dos_type=suse" >> + >> PACKAGECONFIG = " \ >> ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ >> ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', >> 'consolekit', d)} \ >> >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#112102): https://lists.openembedded.org/g/openembedded-devel/message/112102 Mute This Topic: https://lists.openembedded.org/mt/108281789/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
