]> git.ipfire.org Git - pakfire.git/commitdiff
FHS: Permit sub-directories in /usr/src/debug
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 14:53:36 +0000 (14:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Dec 2024 14:53:36 +0000 (14:53 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/fhs.c

index c2a4a9f1057dd8d8a50c51d26c003ee29b29a603..01f20b2e6f0ac68e4195807c20ef35a008f8d67e 100644 (file)
@@ -62,7 +62,8 @@ static const struct pakfire_fhs_check {
        // Debug Sources
        { "/usr/src/debug",       S_IFDIR, 0755, "root", "root", 0 },
        { "/usr/src/debug/*",     S_IFDIR, 0755, "root", "root", 0 },
-       { "/usr/src/debug/**/*",  S_IFREG, 0444, "root", "root", 0 },
+       { "/usr/src/debug/*/**",  S_IFDIR, 0755, "root", "root", 0 },
+       { "/usr/src/debug/*/**",  S_IFREG, 0444, "root", "root", 0 },
 
        // Kernel Sources
        { "/usr/src/kernels/**",        0,    0, "root", "root", 0 },