Package: syslinux / 2:4.05+dfsg-6+deb7u1

02-isolinux-quiet.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
Description: Making isolinux quiet by enabling some output only in verbose mode.

diff -Naurp syslinux.orig/core/isolinux.asm syslinux/core/isolinux.asm
--- syslinux.orig/core/isolinux.asm	2011-05-16 09:06:00.348539659 +0200
+++ syslinux/core/isolinux.asm	2011-05-16 09:16:46.647743986 +0200
@@ -274,15 +274,21 @@ _start_common:
 		mov eax,[si]
 		mov [GetlinsecPtr],eax
 
+%ifdef VERBOSE_MESSAGES
 		; Show signs of life
 		mov si,syslinux_banner
 		call writestr_early
+%endif
+
 %ifdef DEBUG_MESSAGES
 		mov si,copyright_str
+		call writestr_early
 %else
+%ifdef VERBOSE_MESSAGES
 		mov si,[BIOSName]
-%endif
 		call writestr_early
+%endif
+%endif
 
 		;
 		; Before modifying any memory, get the checksum of bytes
@@ -1131,9 +1137,11 @@ all_read:
 
 ; Tell the user we got this far...
 %ifndef DEBUG_MESSAGES			; Gets messy with debugging on
+%ifdef VERBOSE_MESSAGES
 		mov si,copyright_str
 		call writestr_early
 %endif
+%endif
 
 ;
 ; Now we're all set to start with our *real* business.	First load the