I'm not sure I understand this. The check is to ensure build process works as it should, specifically to prevent build host ownership leaking into packages. Yes this information doesn't matter when these packages are installed, but it matters for correctness of the build.
Alex On Thu, 22 Jun 2023 at 18:20, Maxime Roussin-Bélanger <[email protected]> wrote: > > From: Maxime Roussin-Belanger <[email protected]> > > nativesdk-${PN}-src will be installed to a different machine and files > ownership will change at install. Since the ownership will change based > on how the user will install the sdk there is no point in checking > ownership > > Signed-off-by: Maxime Roussin-Belanger <[email protected]> > --- > v2: New commit > > meta/classes-global/insane.bbclass | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/classes-global/insane.bbclass > b/meta/classes-global/insane.bbclass > index a4dbc9a123..82ea834f99 100644 > --- a/meta/classes-global/insane.bbclass > +++ b/meta/classes-global/insane.bbclass > @@ -1116,6 +1116,9 @@ def package_qa_check_host_user(path, name, d, elf, > messages): > if path == home or path.startswith(home + os.sep): > return > > + if name.startswith("nativesdk-") and name.endswith("-src"): > + return > + > try: > stat = os.lstat(path) > except OSError as exc: > -- > 2.36.0 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183266): https://lists.openembedded.org/g/openembedded-core/message/183266 Mute This Topic: https://lists.openembedded.org/mt/99701051/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
