summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_win32-loader
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-25 09:51:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commitf73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6 (patch)
tree517c37c1229fa05947a3515117c1bbdfd566f3a0 /helpers/lh_binary_win32-loader
parentef9121fc23c6eae86ff359cf429af3b096360075 (diff)
downloadlive-build-f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6.zip
live-build-f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6.tar.gz
Adding initial support for virtual-hdd binary image type.
Diffstat (limited to 'helpers/lh_binary_win32-loader')
-rwxr-xr-xhelpers/lh_binary_win32-loader7
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_binary_win32-loader b/helpers/lh_binary_win32-loader
index 1126f01..9bf4370 100755
--- a/helpers/lh_binary_win32-loader
+++ b/helpers/lh_binary_win32-loader
@@ -23,6 +23,11 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
+if [ "${LH_WIN32_LOADER}" != "enabled" ] || [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ]
+then
+ exit 0
+fi
+
Echo_message "Begin copying win32-loader..."
# Requiring stage file
@@ -37,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if [ "${LH_WIN32_LOADER}" = "enabled" ] && [ "${LH_DISTRIBUTION}" != "etch" ]
+if [ "${LH_DISTRIBUTION}" != "etch" ]
then
case "${LH_ARCHITECTURE}" in
amd64|i386)