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 61EF9138334 for ; Tue, 31 Dec 2019 17:25:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F3DCE0B92; Tue, 31 Dec 2019 17:25:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 76CD7E0B92 for ; Tue, 31 Dec 2019 17:25:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5DAB534DDE0 for ; Tue, 31 Dec 2019 17:25:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19FD236 for ; Tue, 31 Dec 2019 17:25:39 +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: <1577812699.cb705cfd0dc3800a085f5ccba4681b73b1fe2287.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: cb705cfd0dc3800a085f5ccba4681b73b1fe2287 X-VCS-Branch: master Date: Tue, 31 Dec 2019 17:25:39 +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: 7b0905c1-63c1-4188-ad62-0147b5355765 X-Archives-Hash: c5e3a80f043b8b469ec95906ad3ad94c commit: cb705cfd0dc3800a085f5ccba4681b73b1fe2287 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Dec 31 17:18:19 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Dec 31 17:18:19 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=cb705cfd gen_initramfs.sh: create_initramfs(): Make ldconfig failure non-fatal Having up-to-date /etc/ld.so.cache in initramfs is nice to have but not critical and ldconfig is known to fail when running under sandbox. Closes: https://bugs.gentoo.org/704354 Signed-off-by: Thomas Deutschmann gentoo.org> gen_initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 283e308..676b86d 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1811,7 +1811,7 @@ create_initramfs() { print_info 1 "$(get_indent 1)>> Pre-generating initramfs' /etc/ld.so.cache ..." # Need to disable sandbox which doesn't understand chroot(), bug #431038 SANDBOX_ON=0 ldconfig -f /etc/ld.so.conf -r "${TDIR}" 2>/dev/null \ - || gen_die "Failed to pre-generate '${TDIR}/etc/ld.so.cache'!" + || print_warning 1 "Failed to pre-generate '${TDIR}/etc/ld.so.cache'! Probably due to sandbox/permission problem; Ignoring ..." fi find . -print0 | sort -z | "${CPIO_COMMAND}" ${CPIO_ARGS} --reproducible -F "${CPIO_ARCHIVE}" 2>/dev/null \