All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dracut: create ldconfig aux cache directory on the initrd
@ 2010-12-07  1:44 Christian Heinz
       [not found] ` <1291686260-32371-1-git-send-email-christian.ch.heinz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Heinz @ 2010-12-07  1:44 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Christian Heinz

This will allow ldconfig to create its auxiliary cache file in order to
prevent `ldconfig -r' from failing completely when dracut is run as
non-root. Applies to glibc/ldconfig versions released before Nov 22,
2010.
---
 dracut |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dracut b/dracut
index 303d817..5cdd313 100755
--- a/dracut
+++ b/dracut
@@ -350,6 +350,7 @@ unset item
 
 # make sure that library links are correct and up to date
 cp -ar /etc/ld.so.conf* "$initdir"/etc
+mkdir -p "$initdir/var/cache/ldconfig"
 ldconfig -r "$initdir" || [[ $UID != "0" ]] && \
     dinfo "ldconfig might need uid=0 (root) for chroot()"
 
-- 
1.7.3.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-07 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07  1:44 [PATCH 1/2] dracut: create ldconfig aux cache directory on the initrd Christian Heinz
     [not found] ` <1291686260-32371-1-git-send-email-christian.ch.heinz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-12-07  1:44   ` [PATCH 2/2] dracut: don't print misleading dinfo after successful ldconfig run Christian Heinz
2010-12-07  9:49   ` [PATCH 1/2] dracut: create ldconfig aux cache directory on the initrd Amadeusz Żołnowski
2010-12-07  9:54     ` Amadeusz Żołnowski
2010-12-07 11:11     ` Christian Heinz
2010-12-07 11:55       ` Amadeusz Żołnowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.