[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] [PATCH 1/2] Fix OBJECT_PREFIX and PRODUCT_NAME substitution



Il 07/10/2014 16:15, Paul Durrant ha scritto:
-----Original Message-----
From: Paul Durrant [mailto:paul.durrant@xxxxxxxxxx]
Sent: 07 October 2014 15:14
To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Cc: Paul Durrant
Subject: [PATCH 1/2] Fix OBJECT_PREFIX and PRODUCT_NAME substitution

There were missing trailing '@' characters causing substitution to fail.

Fabio,

   This should fix your 'xl shutdown' problem.

   Paul

I did and tried new xeniface build and with this patch now service name/description is correct and xl shutdown is working, thanks!


Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
  include/version.hx | 2 +-
  src/xeniface.inf   | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/version.hx b/include/version.hx
index ea1d0af..bbf34b9 100644
--- a/include/version.hx
+++ b/include/version.hx
@@ -53,6 +53,6 @@
  #define DAY   @DAY@
  #define DAY_STR       "@DAY@"

-#define OBJECT_PREFIX_STR   "@OBJECT_PREFIX"
+#define OBJECT_PREFIX_STR   "@OBJECT_PREFIX@"
  #define OBJECT_GUID(_Name)  @OBJECT_PREFIX@ ## _Name ## _GUID

diff --git a/src/xeniface.inf b/src/xeniface.inf
index ad33041..4fb3edb 100644
--- a/src/xeniface.inf
+++ b/src/xeniface.inf
@@ -90,7 +90,7 @@ liteagent.exe = 1,,
  SPSVCINST_ASSOCSERVICE= 0x00000002
  Company= "@COMPANY_NAME@"
  DiskId1 = "@PRODUCT_NAME@ Interface Package"
-XenIfaceDevice.DeviceDesc = "@PRODUCT_NAME Interface"
+XenIfaceDevice.DeviceDesc = "@PRODUCT_NAME@ Interface"
  LITESVC_FLAGS= 0x00000800
-xenlite.SVCDESC= "@PRODUCT_NAME Interface Service"
+xenlite.SVCDESC= "@PRODUCT_NAME@ Interface Service"

--
2.1.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.