From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D48515800A for ; Thu, 17 Aug 2023 22:08:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2B6D2BC015; Thu, 17 Aug 2023 22:08:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A70432BC015 for ; Thu, 17 Aug 2023 22:08:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FC0C335DBB for ; Thu, 17 Aug 2023 22:08:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89D69B8B for ; Thu, 17 Aug 2023 22:08:47 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1692308977.2c755c274a4bd82e5881c315e3cfad05cc371179.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/ X-VCS-Repository: repo/gentoo X-VCS-Files: metadata/install-qa-check.d/08gentoo-paths X-VCS-Directories: metadata/install-qa-check.d/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 2c755c274a4bd82e5881c315e3cfad05cc371179 X-VCS-Branch: master Date: Thu, 17 Aug 2023 22:08:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 07a3cd4f-82ed-4c86-a227-7b6cdc7e9d51 X-Archives-Hash: d86f56f2a090a09508204c4fbe6e816b commit: 2c755c274a4bd82e5881c315e3cfad05cc371179 Author: Ulrich Müller gentoo org> AuthorDate: Wed Aug 16 17:07:09 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Aug 17 21:49:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c755c27 metadata/install-qa-check.d: Check for subdirs in /bin and its friends Bug: https://bugs.gentoo.org/912354 Signed-off-by: Ulrich Müller 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