mdadm: Fix copying of mdadm/mdmon to the initramfs (bug #352496)

cleanup-cruft
Sebastian Pipping 14 years ago
parent 85944c8f79
commit b1b6157254

@ -5,6 +5,10 @@
# Distributed under the GPL v2
# $Id$
23 Jan 2011; Sebastian Pipping <sping@gentoo.org> gen_initramfs.sh:
Fix copying of mdadm/mdmon to the initramfs (bug #352496). Thanks to Malcolm
Lashley for reporting.
23 Jan 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
Bump version to 3.4.12

@ -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)...'

Loading…
Cancel
Save