]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
add modinfo version
authorOliver Kurth <okurth@vmware.com>
Thu, 14 Dec 2017 21:42:01 +0000 (13:42 -0800)
committerOliver Kurth <okurth@vmware.com>
Thu, 14 Dec 2017 21:42:01 +0000 (13:42 -0800)
open-vm-tools/libDeployPkg/linuxDeployment.c

index 888e5569ed9c22f93d52a421aa0eec8bb94d6e04..023d41f1141aac27ee2aedd4fa2485a721db4975 100644 (file)
 #include <strutil.h>
 #include <util.h>
 
+#include "embed_version.h"
+#include "vm_version.h"
+
+#if defined(OPEN_VM_TOOLS) || defined(USERWORLD)
+#include "vmtoolsd_version.h"
+VM_EMBED_VERSION(VMTOOLSD_VERSION_STRING "-vmtools");
+#else
+VM_EMBED_VERSION(SYSIMAGE_VERSION_EXT_STR);
+#endif
+
 /*
  * These are covered by #ifndef to give the ability to change these
  * variables from makefile (mostly planned for the forthcoming Solaris