To the extent possible these dirs should be emptied and moved to /usr/bin. In particular we want to avoid new or third-party packages putting stuff here.
Some things need to stay in the root (coreutils, util-linux, bash, mount-helpers, ...), but we'll rely on the relevant packagers knowing this and ignoring the warnings. Signed-off-by: Tom Gundersen <t...@jklm.no> --- Namcap/rules/fhs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Namcap/rules/fhs.py b/Namcap/rules/fhs.py index 3c1d599..09180f6 100644 --- a/Namcap/rules/fhs.py +++ b/Namcap/rules/fhs.py @@ -26,7 +26,7 @@ class FHSRule(TarballRule): description = "Checks for standard directories." def analyze(self, pkginfo, tar): valid_paths = [ - 'bin/', 'etc/', 'opt/', 'sbin/', 'srv/', + 'etc/', 'opt/', 'srv/', 'lib/depmod.d', 'lib/firmware', 'lib/initcpio', 'lib/modprobe.d', 'lib/modules', 'lib/security', 'lib/udev', 'usr/bin/', 'usr/include/', 'usr/lib/', 'usr/lib32/', -- 1.7.9.2