summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 19:37:21 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 19:37:21 +0100
commit90024a03917842b43b8ebb9c2ba17ce50b38a149 (patch)
tree2b6fbd6cb655a3e42b9fb65e12ecc283c8110236
parente1f9abbef13e7e81455cd209a772393d9a823c26 (diff)
downloadvyos-live-build-90024a03917842b43b8ebb9c2ba17ce50b38a149.tar.gz
vyos-live-build-90024a03917842b43b8ebb9c2ba17ce50b38a149.zip
Applying slightly modified patch from jnqnfe <jnqnfe@gmail.com> to show correct win32-loader ico file on windows (Closes: #772781).
-rwxr-xr-xscripts/build/binary_win32-loader21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/build/binary_win32-loader b/scripts/build/binary_win32-loader
index 7855110f7..4d37c9e1f 100755
--- a/scripts/build/binary_win32-loader
+++ b/scripts/build/binary_win32-loader
@@ -43,6 +43,20 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
+case "${LB_MODE}" in
+ progress-linux)
+ RUN_LABEL="Run Progress Linux"
+ ;;
+
+ ubuntu)
+ RUN_LABEL="Run Ubuntu"
+ ;;
+
+ *)
+ RUN_LABEL="Run Debian GNU/Linux"
+ ;;
+esac
+
case "${LB_ARCHITECTURES}" in
amd64|i386)
if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
@@ -69,6 +83,13 @@ case "${LB_ARCHITECTURES}" in
cat >> binary/autorun.inf << EOF
[autorun]
open=setup.exe
+icon=setup.exe,0
+label=${RUN_LABEL}
+
+[Content]
+MusicFiles=false
+PictureFiles=false
+VideoFiles=false
EOF
if [ "${LB_DEBIAN_INSTALLER}" != "false" ]