]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Always include partitions and containers when starting mdadm array.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 31 Jan 2016 16:00:15 +0000 (17:00 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 31 Jan 2016 16:00:15 +0000 (17:00 +0100)
mod-md.sh

index a0cd7aa23ceaa42bd636a920ee1f6698f4d43ad9..1c5c60c1984cdad2614359802c52d37e53d44486 100644 (file)
--- a/mod-md.sh
+++ b/mod-md.sh
@@ -139,6 +139,8 @@ initrd_gen_md() {
 
        inst_exec $mdassemble /bin/mdassemble
 
+       echo "DEVICE partitions containers" >> "$DESTDIR/etc/mdadm.conf"
+
        # LVM on RAID case
        local dev_list_extra ex_dev
        dev_list_extra=$(awk '/^DEVICE / { for (i=2; i<=NF; i++) { printf "%s ", $i; }; } ' /etc/mdadm.conf | xargs)
This page took 0.183238 seconds and 4 git commands to generate.