Author: Daniel Baumann Description: Adding isolinux quiet flavour. 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 +%ifndef QUIET_MESSAGES ; Show signs of life mov si,syslinux_banner call writestr_early +%endif + %ifdef DEBUG_MESSAGES mov si,copyright_str + call writestr_early %else +%ifndef QUIET_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 +%ifndef QUIET_MESSAGES mov si,copyright_str call writestr_early %endif +%endif ; ; Now we're all set to start with our *real* business. First load the diff -Naurp syslinux.orig/core/isolinux-quiet.asm syslinux/core/isolinux-quiet.asm --- syslinux.orig/core/isolinux-quiet.asm 1970-01-01 01:00:00.000000000 +0100 +++ syslinux/core/isolinux-quiet.asm 2011-05-16 09:16:46.647743986 +0200 @@ -0,0 +1,2 @@ +%define QUIET_MESSAGES 1 +%include "isolinux.asm" diff -Naurp syslinux.orig/core/Makefile syslinux/core/Makefile --- syslinux.orig/core/Makefile 2011-05-16 09:06:01.120543484 +0200 +++ syslinux/core/Makefile 2011-05-16 09:16:46.651744129 +0200 @@ -34,7 +34,7 @@ CODEPAGE = cp865 # The targets to build in this directory... BTARGET = kwdhash.gen \ ldlinux.bss ldlinux.sys ldlinux.bin \ - isolinux.bin isolinux-debug.bin pxelinux.0 + isolinux.bin isolinux-debug.bin isolinux-quiet.bin pxelinux.0 # All primary source files for the main syslinux files NASMSRC := $(wildcard *.asm) diff -Naurp syslinux.orig/core/tracers.inc syslinux/core/tracers.inc --- syslinux.orig/core/tracers.inc 2011-05-16 09:05:59.684536367 +0200 +++ syslinux/core/tracers.inc 2011-05-16 09:16:46.655744300 +0200 @@ -19,9 +19,10 @@ %ifndef _TRACERS_INC %define _TRACERS_INC -; Note: The Makefile builds one version with DEBUG_MESSAGES automatically. +; Note: The Makefile builds one version with DEBUG_MESSAGES and QUIET_MESSAGES automatically. ; %define DEBUG_TRACERS 1 ; Uncomment to get debugging tracers ; %define DEBUG_MESSAGES ; Uncomment to get debugging messages +; %define QUIET_MESSAGES ; Uncomment to get no informational messages %ifdef DEBUG_TRACERS diff -Naurp syslinux.orig/Makefile syslinux/Makefile --- syslinux.orig/Makefile 2011-05-16 09:06:01.024543008 +0200 +++ syslinux/Makefile 2011-05-16 09:17:23.627927893 +0200 @@ -41,7 +41,7 @@ BTARGET = version.gen version.h version BOBJECTS = $(BTARGET) \ mbr/*.bin \ core/pxelinux.0 core/isolinux.bin core/isolinux-debug.bin \ - gpxe/gpxelinux.0 dos/syslinux.com \ + core/isolinux-quiet.bin gpxe/gpxelinux.0 dos/syslinux.com \ win32/syslinux.exe win64/syslinux64.exe \ dosutil/*.com dosutil/*.sys \ $(MODULES) @@ -67,7 +67,7 @@ INSTALL_SBIN = extlinux/extlinux # Things to install in /usr/lib/syslinux INSTALL_AUX = core/pxelinux.0 gpxe/gpxelinux.0 gpxe/gpxelinuxk.0 \ core/isolinux.bin core/isolinux-debug.bin \ - dos/syslinux.com \ + core/isolinux-quiet.bin dos/syslinux.com \ mbr/*.bin $(MODULES) INSTALL_AUX_OPT = win32/syslinux.exe win64/syslinux64.exe INSTALL_DIAG = diag/mbr/handoff.bin \