summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-10-21 18:24:58 +0200
committermaximilian attems <maks@debian.org>2005-10-21 18:24:58 +0200
commit347d6ecf62c2b0ce237deb38e7e80988b90fc078 (patch)
tree251b046f922f0aca6000cf415a04fc2e7d1dce55 /hooks
parent60417290f1be20067c64431a5249cafe8a9bbc51 (diff)
downloadinitramfs-tools-347d6ecf62c2b0ce237deb38e7e80988b90fc078.tar.gz
initramfs-tools-347d6ecf62c2b0ce237deb38e7e80988b90fc078.zip
waldi fixes for newer busybox
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/evms4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/evms b/hooks/evms
index 0981672..456feac 100755
--- a/hooks/evms
+++ b/hooks/evms
@@ -20,12 +20,12 @@ if [ ! -x /sbin/evms_activate ]; then
exit 0
fi
-copy_exec /sbin/evms_activate /sbin
+cp /sbin/evms_activate ${DESTDIR}/sbin
EVMS_VERSION=$(/usr/sbin/evms_query info | grep "EVMS Version" | awk '{ print $3; }')
mkdir -p ${DESTDIR}/lib/evms/${EVMS_VERSION}
for x in disk lvm2 dos multipath; do
- copy_exec /lib/evms/${EVMS_VERSION}/${x}* /lib/evms/${EVMS_VERSION}
+ cp /lib/evms/${EVMS_VERSION}/${x}* ${DESTDIR}/lib/evms/${EVMS_VERSION}
done