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:36 +0000 |
commit | 92a68c5ea46d879d78dfd7e2b70a3ce90b66d0df (patch) | |
tree | 366435b410d5b0c5f661c5bb0557ff7ecb58d33d /meta-selftest/files | |
parent | fef6ec93b50551b3610a3087cdd6a90564cc51a4 (diff) | |
download | poky-92a68c5ea46d879d78dfd7e2b70a3ce90b66d0df.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
(From OE-Core rev: be36b825ada573b2a7df9884eaab78664928594a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/files')
-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: | |||
19 | pulse:x:520: | 19 | pulse:x:520: |
20 | bind:x:521: | 20 | bind:x:521: |
21 | builder:x:522: | 21 | builder:x:522: |
22 | _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 | |||
15 | pulse:x:520:520::/:/bin/nologin | 15 | pulse:x:520:520::/:/bin/nologin |
16 | bind:x:521:521::/:/bin/nologin | 16 | bind:x:521:521::/:/bin/nologin |
17 | builder:x:522:522::/:/bin/nologin | 17 | builder:x:522:522::/:/bin/nologin |
18 | _apt:x:523:523::/:/bin/nologin \ No newline at end of file | ||