diff mbox

[ovs-dev] datapath-windows: allow catalog creation with local time on WDK 10

Message ID 20170620213259.19312-1-aserdean@cloudbasesolutions.com
State Accepted
Headers show

Commit Message

Alin Serdean June 20, 2017, 9:33 p.m. UTC
When compiling with WDK10 we are using server time when creating the catalog
file.

This patch enables the use of local time.

For reference:
https://github.com/cloudbase/ovs/commit/6b3706dc9afb26c3e39985d44a99bc9251bcf792

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
---
 datapath-windows/Package/package.VcxProj | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Ben Pfaff July 11, 2017, 6:25 p.m. UTC | #1
On Tue, Jun 20, 2017 at 09:33:11PM +0000, Alin Serdean wrote:
> When compiling with WDK10 we are using server time when creating the catalog
> file.
> 
> This patch enables the use of local time.
> 
> For reference:
> https://github.com/cloudbase/ovs/commit/6b3706dc9afb26c3e39985d44a99bc9251bcf792
> 
> Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>

Applied, thanks!
diff mbox

Patch

diff --git a/datapath-windows/Package/package.VcxProj b/datapath-windows/Package/package.VcxProj
index 4d6db59..47cadcd 100644
--- a/datapath-windows/Package/package.VcxProj
+++ b/datapath-windows/Package/package.VcxProj
@@ -100,7 +100,9 @@ 
     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   </ImportGroup>
   <PropertyGroup Label="UserMacros" />
-  <PropertyGroup />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|x64'">
+    <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
+  </PropertyGroup>
   <PropertyGroup>
     <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
     <EnableDeployment>False</EnableDeployment>
@@ -118,6 +120,9 @@ 
     <VerifyDrivers />
     <VerifyFlags>133563</VerifyFlags>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'">
+    <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
+  </PropertyGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">
     <Inf2Cat>
       <UseLocalTime>true</UseLocalTime>