Skip to content

Fix nativesdk-intercepts for chown/chgrp

Eilís 'pidge' Ní Fhlannagáin openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2populate_sdk_base.bbclass: PATH to nativesdk-intercept chown/chgrpmeta/classes-recipe/populate_sdk_base.bbclass+1 -01 reply
2/2nativesdk-intercept: Fix bad intercept chgrp/chown logicscripts/nativesdk-intercept/chgrp scripts/nativesdk-intercept/chown+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix nativesdk-intercepts for chown/chgrp

This set of patches started out with fixing #15023 where building the sdk with api-documentation set would fail out. This patch series fixes both of the main underlying issues.

First, populate_sdk did not the nativesdk chown/chgrp intercepts in $PATH.

The second issue was within the chown/chgrp intercepts which were causing them to fail badly. I'm not entirely sure these ever worked as prior to my fix the args for os.execv were:

./scripts/nativesdk-intercept/chown -R pidge:pidge README.md ['root:root', '-R', 'pidge:pidge', 'README.md']

after (which is correct):

./scripts/nativesdk-intercept/chown -R pidge:pidge README.md ['/usr/bin/chown', '-R', 'root:root', 'README.md']

Eilís 'pidge' Ní Fhlannagáin (2):
populate_sdk_base.bbclass: PATH to nativesdk-intercept chown/chgrp
nativesdk-intercept: Fix bad intercept chgrp/chown logic

 meta/classes-recipe/populate_sdk_base.bbclass | 1 +
 scripts/nativesdk-intercept/chgrp             | 5 ++++-
 scripts/nativesdk-intercept/chown             | 5 ++++-
 3 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1