diff options
author | hongxu <hongxu.jia@windriver.com> | 2021-01-15 17:45:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-16 22:39:17 +0000 |
commit | be36b825ada573b2a7df9884eaab78664928594a (patch) | |
tree | 2309f63960049dd3ec846047cfa795a103445b6f /meta-selftest | |
parent | cb83312131f6c4f69d89d639085e07ea1f53167e (diff) | |
download | openembedded-core-contrib-be36b825ada573b2a7df9884eaab78664928594a.tar.gz |
apt: add nativesdk support
1. Add nativesdk support
- Apply the same patches of native
- Generate the same apt.conf.sample of native
2. Create user '_apt' to fix apt runtime warning
[snip]
$ apt update
...
W: No sandbox user '_apt' on the system, can not drop privileges
[snip]
RP: Add comment about need to user
RP: Add user to selftest static-passwd
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r-- | meta-selftest/files/static-group | 1 | ||||
-rw-r--r-- | meta-selftest/files/static-passwd | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/meta-selftest/files/static-group b/meta-selftest/files/static-group index 892231b6e0..5487ed6e32 100644 --- a/meta-selftest/files/static-group +++ b/meta-selftest/files/static-group @@ -19,3 +19,4 @@ tracing:x:519: pulse:x:520: bind:x:521: builder:x:522: +_apt:x:523:
\ No newline at end of file diff --git a/meta-selftest/files/static-passwd b/meta-selftest/files/static-passwd index babbfbc9de..f663361f4a 100644 --- a/meta-selftest/files/static-passwd +++ b/meta-selftest/files/static-passwd @@ -15,3 +15,4 @@ sshd:x:516:516::/:/bin/nologin pulse:x:520:520::/:/bin/nologin bind:x:521:521::/:/bin/nologin builder:x:522:522::/:/bin/nologin +_apt:x:523:523::/:/bin/nologin
\ No newline at end of file |