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

04-ldlinux-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
42
Author: Daniel Baumann <daniel.baumann@progress-technologies.net>
Description: Making ldlinux quiet by enabling some output only in verbose mode.

diff -Naurp syslinux.orig/core/diskstart.inc syslinux/core/diskstart.inc
--- syslinux.orig/core/diskstart.inc	2011-12-23 13:50:16.822778753 +0100
+++ syslinux/core/diskstart.inc	2011-12-23 14:28:44.562199418 +0100
@@ -111,8 +111,10 @@ ldlinux_ent:
 ;
 ; Tell the user we got this far
 ;
+%ifdef VERBOSE_MESSAGES
 		mov si,early_banner
 		call writestr_early
+%endif
 
 ;
 ; Checksum data thus far
@@ -138,8 +140,10 @@ print_bios:
 		mov si,ebios_name
 		mov byte [getlinsec.jmp+1],(getlinsec_ebios-(getlinsec.jmp+2))
 .cbios:
+%ifdef VERBOSE_MESSAGES
 		mov [BIOSName],si
 		call writestr_early
+%endif
 
 		section .earlybss
 		alignb 2
@@ -465,11 +469,13 @@ all_read:
 ; Let the user (and programmer!) know we got this far.  This used to be
 ; in Sector 1, but makes a lot more sense here.
 ;
+%ifdef VERBOSE_MESSAGES
 		mov si,late_banner
 		call writestr_early
 
 		mov si,copyright_str
 		call writestr_early
+%endif
 
 
 ;