base/init: copy /init.log with rd.copystate=1
authorHarald Hoyer <harald@redhat.com>
Thu, 10 Mar 2011 18:16:29 +0000 (19:16 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 10 Mar 2011 18:16:29 +0000 (19:16 +0100)
modules.d/99base/init

index becc8d4..f5851d9 100755 (executable)
@@ -344,7 +344,7 @@ fi
 
 # Debug: Copy state
 if getargbool 0 rd.copystate -y rdcopystate; then
-    cp /tmp/* /dev/.run/initramfs/ >/dev/null 2>&1
+    cp /init.log /tmp/* /dev/.run/initramfs/ >/dev/null 2>&1
 fi
 
 if getargbool 1 rd.timestamp; then