VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-23 13:12:34 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-23 14:52:24 +0200
commit6f371c09732b7f9d2b0adba02a25ffa8eee404e2 (patch)
treedf98b4acfcb5b5fbd45a5c76d8892e1b597ab133 /src/Boot
parent3d3a3900c6ed462f853bb7a671f2a80accdac15c (diff)
downloadVeraCrypt-6f371c09732b7f9d2b0adba02a25ffa8eee404e2.tar.gz
VeraCrypt-6f371c09732b7f9d2b0adba02a25ffa8eee404e2.zip
Windows MBR Bootloader: always compress bootloader with upx to reduce runtime memory requirement thanks to its in-place decompression.
Diffstat (limited to 'src/Boot')
-rw-r--r--src/Boot/Windows/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Boot/Windows/Makefile b/src/Boot/Windows/Makefile
index a7506266..1966a3cb 100644
--- a/src/Boot/Windows/Makefile
+++ b/src/Boot/Windows/Makefile
@@ -197,9 +197,9 @@ $(LIBS)
del $(PROJ).crf $(PROJ).crf2
# 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") || ("$(SINGLE_CIPHER)" == "CAMELLIA"))
+#!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA"))
upx $(PROJ).$(TARGETEXT)
-!endif
+#!endif
gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz
-dd.exe conv=notrunc,sync bs=512 seek=5 if=$(PROJ).$(TARGETEXT).gz of=$(PROJ).flp 2>NUL:
cd ..