Skip to content
Commit e1f40670 authored by Richard Purdie's avatar Richard Purdie
Browse files

nativesdk: Handle chown/chgrp calls in nativesdk do_install tasks



We disable the useradd code for nativesdk targets since we don't support
postinstalls or multiple users in those cases. This means any usage
of chown/chgrp inside do_install tasks won't work and would have to be
conditional. Rather than require all recipes to do that, add intercepts
of the calls and map those to root/root user/groups. We can't just ignore
them as some calls are used to remove host contamination from the host
user ID so they need to be made, just as root.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 8406e83a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment