From b1b6157254b84aba41c90737567fb6effd8b2681 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 23 Jan 2011 20:04:12 +0100 Subject: [PATCH] mdadm: Fix copying of mdadm/mdmon to the initramfs (bug #352496) --- ChangeLog | 4 ++++ gen_initramfs.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 68955b2..f3011ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ + 23 Jan 2011; Sebastian Pipping gen_initramfs.sh: + Fix copying of mdadm/mdmon to the initramfs (bug #352496). Thanks to Malcolm + Lashley for reporting. + 23 Jan 2011; Sebastian Pipping genkernel: Bump version to 3.4.12 diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 8f1c5d1..364655f 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -348,7 +348,7 @@ append_mdadm(){ && [ -e '/sbin/mdmon' ] && LC_ALL="C" ldd /sbin/mdmon | grep -q 'not a dynamic executable' then print_info 1 ' MDADM: Adding support (using local static binaries /sbin/mdadm and /sbin/mdmon)...' - cp /sbin/mdadm /sbin/mdmon "${TEMP}/initramfs-mdadm-temp/sbin/mdadm" || + cp /sbin/mdadm /sbin/mdmon "${TEMP}/initramfs-mdadm-temp/sbin/" || gen_die 'Could not copy over mdadm!' else print_info 1 ' MDADM: Adding support (compiling binaries)...' -- 2.26.2