From: Oliver Kurth Date: Thu, 14 Dec 2017 21:42:01 +0000 (-0800) Subject: add modinfo version X-Git-Tag: stable-10.2.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702f79c5bc3de1b33ec7cdadef23df39d310fc8e;p=thirdparty%2Fopen-vm-tools.git add modinfo version --- diff --git a/open-vm-tools/libDeployPkg/linuxDeployment.c b/open-vm-tools/libDeployPkg/linuxDeployment.c index 888e5569e..023d41f11 100644 --- a/open-vm-tools/libDeployPkg/linuxDeployment.c +++ b/open-vm-tools/libDeployPkg/linuxDeployment.c @@ -48,6 +48,16 @@ #include #include +#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