From 01f57c996e09fb68daf3d97805c46c27a6d34304 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sun, 5 Apr 2020 22:03:45 +0800 Subject: [PATCH] file_contexts.subs_dist: set aliase for /root directory The genhomedircon.py will expand /root directory to /home/root. Add an aliase for it Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao --- config/file_contexts.subs_dist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist index 690007f22..f80499ebf 100644 --- a/config/file_contexts.subs_dist +++ b/config/file_contexts.subs_dist @@ -45,3 +45,7 @@ /usr/lib/busybox/bin /usr/bin /usr/lib/busybox/sbin /usr/sbin /usr/lib/busybox/usr /usr + +# The genhomedircon.py will expand /root home directory to /home/root +# Add an aliase for it +/root /home/root -- 2.25.1