From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] FHS: Allow /usr/src/kernel
Date: Tue, 21 Mar 2023 11:16:45 +0100 [thread overview]
Message-ID: <20230321101645.1592206-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 871 bytes --]
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(a)ipfire.org>
---
src/libpakfire/fhs.c | 1 +
1 file changed, 1 insertion(+)
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 },
--
2.30.2
reply other threads:[~2023-03-21 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230321101645.1592206-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox