From 92a68c5ea46d879d78dfd7e2b70a3ce90b66d0df Mon Sep 17 00:00:00 2001 From: hongxu Date: Fri, 15 Jan 2021 17:45:35 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta-selftest/files/static-group | 1 + meta-selftest/files/static-passwd | 1 + 2 files changed, 2 insertions(+) (limited to 'meta-selftest/files') 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 -- cgit v1.2.3-54-g00ecf