From: Stefan Schantl Date: Tue, 21 Mar 2023 10:14:49 +0000 (+0100) Subject: FHS: Allow /usr/src/kernel X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89e1a705379ba184ba5b54eb2378885984120454;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 --- 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 },