]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Install mdadm in /sbin because udevd expects it to be there.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Dec 2018 13:34:38 +0000 (14:34 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Dec 2018 13:34:38 +0000 (14:34 +0100)
mod-md.sh

index 2b6f58769daacc0325550d4aef59823519953b44..a3585170fb7bb56e1db25ed4f72f75ffe64d717a 100644 (file)
--- a/mod-md.sh
+++ b/mod-md.sh
@@ -133,7 +133,7 @@ initrd_gen_md() {
        fi
        verbose "Setting up mdadm..."
 
-       inst_exec $mdadm /bin/mdadm
+       inst_exec $mdadm /sbin/mdadm
 
        echo "DEVICE partitions containers" >> "$DESTDIR/etc/mdadm.conf"
 
@@ -181,7 +181,7 @@ initrd_gen_md() {
 
        echo "wait_for_files $cr_dev_list" | add_linuxrc
        add_linuxrc <<-'EOF'
-       mdadm --assemble --scan
+       /sbin/mdadm --assemble --scan
 
        if [ "$DEBUGINITRD" ]; then
                [ -e /proc/mdstat ] && echo "/proc/mdstat contents:" && cat /proc/mdstat
This page took 0.52663 seconds and 4 git commands to generate.