From 8342d0d616a8340bc358b19146f1b2d8cdf41af8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 14 Oct 2015 23:09:49 +0200 Subject: Windows Rescue Disk: compress bootloader for rescue disk in several more cases because of its growing size. --- src/Boot/Windows/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Boot/Windows/Makefile b/src/Boot/Windows/Makefile index 3ce069c7..9ae55272 100644 --- a/src/Boot/Windows/Makefile +++ b/src/Boot/Windows/Makefile @@ -193,8 +193,8 @@ $(LIBS) $(LD) $(LFLAGS) @$(PROJ).crf del $(PROJ).crf $(PROJ).crf2 -# Compress the Rescue Disk botloader for Cascades and SHA2 since it is too big (size > 31232 bytes) -!if DEFINED(RESCUE_DISK) && !DEFINED (SINGLE_CIPHER) && "$(SINGLE_PRF)" == "SHA2" +# Compress the Rescue Disk botloader for Cascades and Serpent since it is too big (size > 31232 bytes) +!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT")) upx $(PROJ).$(TARGETEXT) !endif gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz -- cgit v1.2.3