[vbox-dev] [PATCH] 64Bit: Driver Signing

Bodo bopi at users.sourceforge.net
Mon Nov 12 11:56:42 GMT 2012


adjust tool paths
tool for retry

===================================================================
--- a/Config.kmk	(revision 43841)
+++ b/Config.kmk	(working copy)
@@ -2452,8 +2452,8 @@
     VBOX_PATH_SELFSIGN := $(PATH_DEVTOOLS)/win.x86/selfsign/r1
    endif
   endif
-  VBOX_SIGNTOOL ?= $(PATH_DEVTOOLS)/bin/retry.cmd
$(VBOX_PATH_SELFSIGN)/SignTool.exe
-  VBOX_INF2CAT  ?= $(VBOX_PATH_SELFSIGN)/Inf2Cat.exe
+  VBOX_SIGNTOOL ?= $(PATH_DEVTOOLS)/bin/retry.cmd
$(PATH_SDK_WINDDK71)/bin/$(KBUILD_TARGET_ARCH)/SignTool.exe
+  VBOX_INF2CAT  ?= $(PATH_SDK_WINDDK71)/bin/selfsign/Inf2Cat.exe
 
   # There are three signing modes; 'test', 'development' and 'release'.
   ifeq ($(strip $(VBOX_SIGNING_MODE)),test)

===================================================================
--- a/tools/bin/retry.cmd	(revision 0)
+++ b/tools/bin/retry.cmd	(working copy)
@@ -0,0 +1,13 @@
+ at echo off
+REM
+REM SignTool.exe Sporadically Fails with Exit Code 1
+REM
http://stackoverflow.com/questions/9380751/signtool-exe-sporadically-fails-w
ith-exit-code-1
+REM
+
+ at echo on
+%*
+ at echo off
+if %=exitcode% EQU 1 (
+  @echo on
+   %*
+)
\ No newline at end of file


This Patch is contributed under the MIT license

Regards
Bodo





More information about the vbox-dev mailing list