From: Stefan Schantl Date: Tue, 21 Mar 2023 10:16:45 +0000 (+0100) Subject: FHS: Allow /usr/src/kernel X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf6f5e54f55dbbae96475dce0f3eaa8bcd14015;p=people%2Fstevee%2Fpakfire.git FHS: Allow /usr/src/kernel 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 Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/fhs.c b/src/libpakfire/fhs.c index 4582feaa..f419a4e0 100644 --- a/src/libpakfire/fhs.c +++ b/src/libpakfire/fhs.c @@ -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 },