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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C17313835A for ; Fri, 30 Oct 2020 16:46:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 161ECE0858; Fri, 30 Oct 2020 16:46:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 009A3E0858 for ; Fri, 30 Oct 2020 16:46:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74F5E33BF35 for ; Fri, 30 Oct 2020 16:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E33213BC for ; Fri, 30 Oct 2020 16:46:03 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1604076350.9831b5fb7b0a05f133178ec40127fc3dabaaeaff.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/linux-firmware/linux-firmware-99999999.ebuild X-VCS-Directories: sys-kernel/linux-firmware/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 9831b5fb7b0a05f133178ec40127fc3dabaaeaff X-VCS-Branch: master Date: Fri, 30 Oct 2020 16:46:03 +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: 777eeaeb-ec20-46d9-b5db-8e91f49edbdf X-Archives-Hash: 45440061520303147b5236b6646aa93e commit: 9831b5fb7b0a05f133178ec40127fc3dabaaeaff Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Oct 30 16:39:58 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Oct 30 16:45:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9831b5fb sys-kernel/linux-firmware: delete broken symlinks copy-firmware.sh can create broken symlinks when it tries to symlink files we have removed due to set USE flags. Signed-off-by: Thomas Deutschmann gentoo.org> sys-kernel/linux-firmware/linux-firmware-99999999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild index 6a67500e679..620398e13c2 100644 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -265,6 +265,10 @@ src_install() { pushd "${ED}/lib/firmware" &>/dev/null || die + # especially use !redistributable will cause some broken symlinks + einfo "Removing broken symlinks ..." + find * -xtype l -print -delete || die + if use savedconfig; then if [[ -s "${S}/${PN}.conf" ]]; then local files_to_keep="${T}/files_to_keep.lst"