dracut: create var/log directory in the initramfs
authorHarald Hoyer <harald@redhat.com>
Wed, 9 Nov 2011 13:07:22 +0000 (14:07 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 15 Nov 2011 08:47:26 +0000 (09:47 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=701864

dracut

diff --git a/dracut b/dracut
index 4bc0db3..de059c8 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -521,7 +521,7 @@ if [[ $prefix ]]; then
 fi
 
 if [[ $kernel_only != yes ]]; then
-    for d in bin etc lib "$libdir" sbin tmp usr var usr/bin usr/sbin; do
+    for d in bin etc lib "$libdir" sbin tmp usr var var/log usr/bin usr/sbin; do
         [[ -e "${initdir}${prefix}/$d" ]] && continue
         if [ -h "/$d" ]; then
             inst "/$d" "${prefix}/$d"