From 46e2a3271b053a6da4435c9b64dabc9f84e313ce Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Wed, 16 Apr 2008 06:19:10 +0100
Subject: lh_binary_debian-installer: Add dependency on 'wget'

The 'minimal' hook removes wget, which is used extensively by the Debian
Installer hook.
---
 helpers/lh_binary_debian-installer | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 8a19f1c..41161b7 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -62,6 +62,15 @@ Check_lockfile .lock
 # Creating lock file
 Create_lockfile .lock
 
+# Checking depends
+Check_package chroot/usr/bin/wget wget
+
+# Restoring cache
+Restore_cache cache/packages_binary
+
+# Installing depends
+Install_package
+
 # Setting destination directory
 case "${LH_BINARY_IMAGES}" in
 	iso)
@@ -476,5 +485,11 @@ then
 	fi
 fi
 
+# Saving cache
+Save_cache cache/packages_binary
+
+# Removing depends
+Remove_package
+
 # Creating stage file
 Create_stagefile .stage/binary_debian-installer
-- 
cgit v1.0