summaryrefslogtreecommitdiff
path: root/hooks/md
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-11-17 19:59:00 +0100
committermaximilian attems <maks@debian.org>2005-11-17 19:59:00 +0100
commitaa1e3cb6e0a9ab2d8a34676b719d278caea1bc17 (patch)
treef3b970e41f955f8371edddc38ab124d21f3b4d89 /hooks/md
parent32b031319c9696f35246b482c23d8d060cb5c6c8 (diff)
downloadinitramfs-tools-aa1e3cb6e0a9ab2d8a34676b719d278caea1bc17.tar.gz
initramfs-tools-aa1e3cb6e0a9ab2d8a34676b719d278caea1bc17.zip
revert usage of mklibs-copy - reduces python dep.
Diffstat (limited to 'hooks/md')
-rwxr-xr-xhooks/md4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/md b/hooks/md
index c06b46b..64b8f9e 100755
--- a/hooks/md
+++ b/hooks/md
@@ -20,8 +20,8 @@ fi
. /usr/share/initramfs-tools/hook-functions
-cp /sbin/mdadm "${DESTDIR}/sbin"
-cp /sbin/mdrun "${DESTDIR}/sbin"
+copy_exec /sbin/mdadm /sbin
+copy_exec /sbin/mdrun /sbin
for x in md raid0 raid1 raid5 raid6; do
manual_add_modules ${x}