FHS: Allow /usr/src/kernel
Commit Message
This directory and it's subdirectories will contain the source code
and helper scripts/binaries of the current compiled kernel.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
src/libpakfire/fhs.c | 1 +
1 file changed, 1 insertion(+)
@@ -52,6 +52,7 @@ static const struct pakfire_fhs_check {
{ "/usr/sbin", S_IFDIR, 0755, "root", "root", 0 },
{ "/usr/share", S_IFDIR, 0755, "root", "root", 0 },
{ "/usr/src", S_IFDIR, 0755, "root", "root", 0 },
+ { "/usr/src/kernels", S_IFDIR, 0755, "root", "root", 0 },
// Allow no further files in /usr
{ "/usr/*", 0, 0, NULL, NULL, PAKFIRE_FHS_MUSTNOTEXIST },