diff options
| author | Daniel Baumann <daniel@debian.org> | 2008-08-14 21:33:56 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 21:33:56 +0200 |
| commit | c316f6cdbdb8415494ccc92e265c442bf2cee1a4 (patch) | |
| tree | 689c15c95b6af09f0ee7daffdd31ffbea00cf48d /helpers/lh_binary_includes | |
| parent | 5977735ed1df2c7411632a504090441cdecdd66b (diff) | |
| download | vyos-live-build-c316f6cdbdb8415494ccc92e265c442bf2cee1a4.tar.gz vyos-live-build-c316f6cdbdb8415494ccc92e265c442bf2cee1a4.zip | |
Moving win32-loader inclusion support from external hook into main program (Closes: #476546).
Diffstat (limited to 'helpers/lh_binary_includes')
| -rwxr-xr-x | helpers/lh_binary_includes | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes index 6954377c0..c90e75c9c 100755 --- a/helpers/lh_binary_includes +++ b/helpers/lh_binary_includes @@ -164,5 +164,20 @@ then sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_TXT}|g" binary/README.txt fi +# Copying win32-loader +if [ "${LH_WIN32_LOADER}" = "enabled" ] +then + case "${LH_ARCHITECTURE}" in + amd64|i386) + if Find_files /usr/lib/win32-loader/* + then + cp /usr/lib/win32-loader/* binary + else + Echo_warning "win32-loader inclusion is enabled but not found, ignoring." + fi + ;; + esac +fi + # Creating stage file Create_stagefile .stage/binary_includes |
