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 A0C3D138335 for ; Sun, 21 Jul 2019 16:26:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 967C1E087A; Sun, 21 Jul 2019 16:26:43 +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 7CCCCE087A for ; Sun, 21 Jul 2019 16:26:43 +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 D16443483EA for ; Sun, 21 Jul 2019 16:26:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE33B73C for ; Sun, 21 Jul 2019 16:26:37 +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: <1563724072.87488d8efc2a5fff214a3ab8171c903debd5e075.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: 87488d8efc2a5fff214a3ab8171c903debd5e075 X-VCS-Branch: master Date: Sun, 21 Jul 2019 16:26:37 +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: 8574987a-53e9-438f-805e-7ee8757c1a3c X-Archives-Hash: 29aae6531f45991653719b7055bb628a commit: 87488d8efc2a5fff214a3ab8171c903debd5e075 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Jul 20 21:52:54 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Jul 21 15:47:52 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=87488d8e gen_initramfs.sh: create_initramfs(): Fix ldconfig config call We must specify full qualified config file. 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 55cf295..c9c1253 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1609,7 +1609,7 @@ create_initramfs() { # We can update /etc/ld.so.cache which was copied from host # to actually match initramfs' content. print_info 1 "$(get_indent 1)>> Pre-generating initramfs' /etc/ld.so.cache ..." - ldconfig -r . 2>/dev/null \ + ldconfig -f "${TDIR}/etc/ld.so.conf" -r . 2>/dev/null \ || gen_die "Failed to pre-generate '${TDIR}/etc/ld.so.cache'!" fi