commit: 87488d8efc2a5fff214a3ab8171c903debd5e075 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sat Jul 20 21:52:54 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> 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 <whissi <AT> 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