]> git.ipfire.org Git - pakfire.git/commitdiff
FHS: Allow /usr/src/kernel
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 10:16:45 +0000 (11:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Mar 2023 09:31:38 +0000 (09:31 +0000)
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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/fhs.c

index 4582feaae37e7e90546d7bb028d20cc22c9eb9dc..f419a4e044bcd1e62cd8c2119bb6e074526a13c8 100644 (file)
@@ -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 },