[projects/geninitrd] Install mdadm in /sbin because udevd expects it to be there.
    arekm 
    arekm at pld-linux.org
       
    Tue Dec 18 14:34:46 CET 2018
    
    
  
commit dc5ca733ed6fe57dfa39d4598a6586069e41d0b0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Dec 18 14:34:38 2018 +0100
    Install mdadm in /sbin because udevd expects it to be there.
 mod-md.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mod-md.sh b/mod-md.sh
index 2b6f587..a358517 100644
--- 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/dc5ca733ed6fe57dfa39d4598a6586069e41d0b0
    
    
More information about the pld-cvs-commit
mailing list