From 974befcafcee1377e122f19a4182f74eea757158 Mon Sep 17 00:00:00 2001 From: Joe MacDonald Date: Thu, 28 Mar 2019 20:48:10 -0400 Subject: [PATCH] fc/subs/busybox: set aliases for bin, sbin and usr The objects in /usr/lib/busybox/* should have the same policy applied as the corresponding objects in the / hierarchy. Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Joe MacDonald Signed-off-by: Yi Zhao --- config/file_contexts.subs_dist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist index 23d4328f7..690007f22 100644 --- a/config/file_contexts.subs_dist +++ b/config/file_contexts.subs_dist @@ -39,3 +39,9 @@ # volatile hierarchy. /var/volatile/log /var/log /var/volatile/tmp /var/tmp + +# busybox aliases +# quickly match up the busybox built-in tree to the base filesystem tree +/usr/lib/busybox/bin /usr/bin +/usr/lib/busybox/sbin /usr/sbin +/usr/lib/busybox/usr /usr -- 2.17.1