summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-09-30 16:44:45 +0200
committerHans de Goede <hdegoede@redhat.com>2009-09-30 22:25:59 +0200
commit04a0a283efa83b7adf0678a93bbe3d38c2cb88b0 (patch)
tree89199f275b7514b6b05cc50982982cc0fda85121 /scripts
parent88ebe8cbc30c4d79d4efe7fb48067211b1167bee (diff)
downloadanaconda-04a0a283efa83b7adf0678a93bbe3d38c2cb88b0.tar.gz
anaconda-04a0a283efa83b7adf0678a93bbe3d38c2cb88b0.tar.xz
anaconda-04a0a283efa83b7adf0678a93bbe3d38c2cb88b0.zip
Wait for mdraid arrays to become clean before reboot / halt
With the new external metadata mdraid support we need to wait for raid sets to become clean (iow for mdmon to have finished updating the metadata) before rebooting. Otherwise we get a full array sync on the first boot after installation.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 00854d3d0..cfe62d3a1 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -759,6 +759,10 @@ makeinitrd() {
cp -a org.freedesktop.nm_dispatcher.service $MBD_DIR/usr/share/dbus-1/system-services
)
+ # mdadm
+ instbin $IMGPATH /usr/sbin/mdadm $MBD_DIR /sbin/mdadm
+ instbin $IMGPATH /usr/sbin/mdmon $MBD_DIR /sbin/mdmon
+
# Misc
instbin $IMGPATH /usr/sbin/dmidecode $MBD_DIR /sbin/dmidecode
instbin $IMGPATH /usr/bin/egrep $MBD_DIR /sbin/egrep