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 537B5138334 for ; Sat, 7 Sep 2019 22:08:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D6AFE08FE; Sat, 7 Sep 2019 22:08:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 23384E08FE for ; Sat, 7 Sep 2019 22:08:09 +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 D86FB34AE60 for ; Sat, 7 Sep 2019 22:08:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C6C571A for ; Sat, 7 Sep 2019 22:08:05 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1567894025.1bcd38512f35ab0724279d7fc5bb8e5e1213a9d2.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: gcc-config X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 1bcd38512f35ab0724279d7fc5bb8e5e1213a9d2 X-VCS-Branch: master Date: Sat, 7 Sep 2019 22:08:05 +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: 9842a2ff-31f4-4430-bf18-f9994b02d28d X-Archives-Hash: f0c1cf3637ccecc76758fd61654dbcef commit: 1bcd38512f35ab0724279d7fc5bb8e5e1213a9d2 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 7 22:07:05 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 7 22:07:05 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=1bcd3851 gcc-config: add einfo logging around library backup Signed-off-by: Sergei Trofimovich gentoo.org> gcc-config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc-config b/gcc-config index 65b30bc..b1cda70 100755 --- a/gcc-config +++ b/gcc-config @@ -324,6 +324,7 @@ handle_split_usr() { # Can be removed in 2021. for lib in "${EROOT}"/lib*/libgcc_s{.so*,*dylib} "${EROOT}"/lib*/libunwind.so.7* ; do # If we previously had stuff in /, make sure ldconfig gets re-run. + einfo "Removing '${lib}'" rm -f "${lib}" old_libs=1 done @@ -332,6 +333,7 @@ handle_split_usr() { "${EROOT}"/lib*/"${GENTOO_GCC_BACKUP_DIR}"/libgcc_s.so.* \ "${EROOT}"/lib*/"${GENTOO_GCC_BACKUP_DIR}"/libunwind.so.* ; do # If we previously had stuff in /, make sure ldconfig gets re-run. + einfo "Removing '${lib}'" rm -f "${lib}" old_libs=1 done @@ -350,6 +352,7 @@ handle_split_usr() { # but for now, that should be safe ... for gcclib in "${ROOT}${LDPATH}"/lib${gcclib}.so.* ; do [[ -e ${gcclib} ]] || continue + einfo "Backing up '${gcclib}' to '${libdir}" cp -pP "${gcclib}" "${libdir}"/.gcc.config.new/ # no need to sanity `rm` this as the `mv` should take care # of it. we also need this step to be completely atomic