summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-04-16 06:19:10 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:32 +0100
commit46e2a3271b053a6da4435c9b64dabc9f84e313ce (patch)
treeb50af875e14245bb89b297329a70e4a7fbb74e64
parent08a0bc7155ef9d3c0c4e424fc269d5ed1d376a06 (diff)
downloadvyos-live-build-46e2a3271b053a6da4435c9b64dabc9f84e313ce.tar.gz
vyos-live-build-46e2a3271b053a6da4435c9b64dabc9f84e313ce.zip
lh_binary_debian-installer: Add dependency on 'wget'
The 'minimal' hook removes wget, which is used extensively by the Debian Installer hook.
-rwxr-xr-xhelpers/lh_binary_debian-installer15
1 files changed, 15 insertions, 0 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 8a19f1ccf..41161b721 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