diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-16 12:40:43 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:02 +0100 |
commit | 5841e79b1fddb4e7aa340328a4df587398317d06 (patch) | |
tree | 17f9d204704809b9009d6b75109411aa53adaeeb /helpers/lh_binary_win32-loader | |
parent | 8fa7616e6929bb1375a04bb1c50fe3b846ffcceb (diff) | |
download | vyos-live-build-5841e79b1fddb4e7aa340328a4df587398317d06.tar.gz vyos-live-build-5841e79b1fddb4e7aa340328a4df587398317d06.zip |
Dropping etch support.
Diffstat (limited to 'helpers/lh_binary_win32-loader')
-rwxr-xr-x | helpers/lh_binary_win32-loader | 59 |
1 files changed, 28 insertions, 31 deletions
diff --git a/helpers/lh_binary_win32-loader b/helpers/lh_binary_win32-loader index d5a97e1ee..7eb7eea25 100755 --- a/helpers/lh_binary_win32-loader +++ b/helpers/lh_binary_win32-loader @@ -42,31 +42,29 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock -if [ "${LH_DISTRIBUTION}" != "etch" ] -then - case "${LH_ARCHITECTURE}" in - amd64|i386|lpia) - if [ "${LH_CHROOT_BUILD}" = "enabled" ] - then - # Checking depends - Check_package chroot/usr/lib/win32-loader/win32-loader.exe win32-loader +case "${LH_ARCHITECTURE}" in + amd64|i386|lpia) + if [ "${LH_CHROOT_BUILD}" = "enabled" ] + then + # Checking depends + Check_package chroot/usr/lib/win32-loader/win32-loader.exe win32-loader - # Restoring cache - Restore_cache cache/packages_binary + # Restoring cache + Restore_cache cache/packages_binary - # Installing depends - Install_package + # Installing depends + Install_package - # Copying win32-loader - cp chroot/usr/lib/win32-loader/* binary - else - cp /usr/lib/win32-loader/* binary - fi + # Copying win32-loader + cp chroot/usr/lib/win32-loader/* binary + else + cp /usr/lib/win32-loader/* binary + fi - mv binary/win32-loader.exe binary/setup.exe + mv binary/win32-loader.exe binary/setup.exe - if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] - then + if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] + then cat > binary/win32-loader.ini << EOF [installer] @@ -81,20 +79,19 @@ g2ldr=g2ldr g2ldr.mbr=g2ldr.mbr EOF - fi + fi - # Saving cache - Save_cache cache/packages_binary + # Saving cache + Save_cache cache/packages_binary - # Removing depends - Remove_package - ;; + # Removing depends + Remove_package + ;; - *) - Echo_warning "win32-loader inclusion is enabled but not compatible with your architecture, ignoring." - ;; - esac -fi + *) + Echo_warning "win32-loader inclusion is enabled but not compatible with your architecture, ignoring." + ;; +esac # Creating stage file Create_stagefile .stage/binary_win32-loader |