Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867982 Details for
Bug 912354
Disallow subdirs in /bin and its friends (PG 0201)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
metadata/install-qa-check.d: Check for subdirs in /bin and its friends
0001-metadata-install-qa-check.d-Check-for-subdirs-in-bin.patch (text/plain), 1.20 KB, created by
Ulrich Müller
on 2023-08-16 11:50:38 UTC
(
hide
)
Description:
metadata/install-qa-check.d: Check for subdirs in /bin and its friends
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2023-08-16 11:50:38 UTC
Size:
1.20 KB
patch
obsolete
>From 137d3d8b998c9ce54ac5ee839fb941e56197b778 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Wed, 16 Aug 2023 13:40:03 +0200 >Subject: [PATCH] metadata/install-qa-check.d: Check for subdirs in /bin and > its friends >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Bug: https://bugs.gentoo.org/912354 >Signed-off-by: Ulrich Müller <ulm@gentoo.org> >--- > metadata/install-qa-check.d/08gentoo-paths | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/metadata/install-qa-check.d/08gentoo-paths b/metadata/install-qa-check.d/08gentoo-paths >index 4d84925d8539..5b8607fd5f96 100644 >--- a/metadata/install-qa-check.d/08gentoo-paths >+++ b/metadata/install-qa-check.d/08gentoo-paths >@@ -53,7 +53,11 @@ gentoo_path_check() { > fi > done > >- # 3. check for unexpected /usr/share/doc subdirectories >+ # 3. check for unexpected subdirectories in bin and sbin >+ local bin_subdirs=( "${ED%/}"{,/usr}/{bin,sbin}/*/ ) >+ bad_paths+=( "${bin_subdirs[@]%/}" ) >+ >+ # 4. check for unexpected /usr/share/doc subdirectories > local doc_dirs=( "${ED%/}"/usr/share/doc/* ) > for x in "${doc_dirs[@]##*/}"; do > if [[ ${x} != ${PF} ]]; then >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912354
:
867981
| 867982