summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-04-06 08:55:15 +0200
committermaximilian attems <maks@debian.org>2010-04-06 08:55:15 +0200
commita2a786f8bad3e1e3ed089c3c68addd9619c4c1ca (patch)
treeb5f826bab85078c2fd88c6896b8a156fa14ccb58 /hook-functions
parent5de4f2d88e47343f080884213919ddadb0efc7a7 (diff)
downloadinitramfs-tools-a2a786f8bad3e1e3ed089c3c68addd9619c4c1ca.tar.gz
initramfs-tools-a2a786f8bad3e1e3ed089c3c68addd9619c4c1ca.zip
mkinitramfs: check only once for existing ldd
no point to recheck on every copy_exec. now copy_exec starts to get redable.. Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions4
1 files changed, 0 insertions, 4 deletions
diff --git a/hook-functions b/hook-functions
index dddf3b1..5f00f17 100644
--- a/hook-functions
+++ b/hook-functions
@@ -130,10 +130,6 @@ copy_exec() {
ln -s "${src}" "${DESTDIR}/${target}"
# Copy the dependant libraries
- if ! command -v ldd >/dev/null 2>&1 ; then
- echo "WARNING: no ldd around - install libc-bin"
- exit 1
- fi
for x in $(ldd ${src} 2>/dev/null | sed -e '
/\//!d;
/linux-gate/d;