From 704b68c7d661b961ffa66f9a9bfbb670ac04bcad Mon Sep 17 00:00:00 2001 From: Xingwang Liao Date: Fri, 29 May 2020 11:39:22 +0800 Subject: [PATCH] open-vm-tools: add new package open-vm-tools-fuse Link: https://kb.vmware.com/s/article/60262 Add new package to support Shared Folders user mode FUSE client. Signed-off-by: Xingwang Liao --- utils/open-vm-tools/Makefile | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/utils/open-vm-tools/Makefile b/utils/open-vm-tools/Makefile index 96af22f81..8d36e3e61 100644 --- a/utils/open-vm-tools/Makefile +++ b/utils/open-vm-tools/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=open-vm-tools PKG_VERSION:=11.1.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-16036546.tar.gz PKG_SOURCE_URL:=https://github.com/vmware/open-vm-tools/releases/download/stable-$(PKG_VERSION) @@ -25,19 +25,34 @@ PKG_LICENSE_FILES:=LICENSE include $(INCLUDE_DIR)/package.mk -define Package/open-vm-tools +define Package/open-vm-tools/Default SECTION:=utils CATEGORY:=Utilities + URL:=https://github.com/vmware/open-vm-tools +endef + +define Package/open-vm-tools +$(call Package/open-vm-tools/Default) DEPENDS:=@TARGET_x86 +glib2 +libpthread +libtirpc TITLE:=open-vm-tools URL:=https://github.com/vmware/open-vm-tools MAINTAINER:=Yuhei OKAWA endef -define Package/open-vm-tools-vm-tools/description +define Package/open-vm-tools/description Open Virtual Machine Tools for VMware guest OS endef +define Package/open-vm-tools-fuse +$(call Package/open-vm-tools/Default) + DEPENDS:=+open-vm-tools +libfuse + TITLE:=open-vm-tools-fuse + MAINTAINER:=Kagurazaka Kotori +endef + +define Package/open-vm-tools-fuse/description + Shared Folders user mode FUSE client support for VMware guest OS +endef CONFIGURE_ARGS+= \ --without-icu \ @@ -61,7 +76,6 @@ CONFIGURE_ARGS+= \ --without-xerces \ --enable-resolutionkms=no - define Package/open-vm-tools/install $(INSTALL_DIR) $(1)/etc/init.d/ $(INSTALL_BIN) ./files/vmtoolsd.init $(1)/etc/init.d/vmtoolsd @@ -114,4 +128,11 @@ define Package/open-vm-tools/install $(CP) $(PKG_INSTALL_DIR)/usr/share/open-vm-tools/messages/ja/vmtoolsd.vmsg $(1)/usr/share/open-vm-tools/messages/ja/ endef +define Package/open-vm-tools-fuse/install + $(INSTALL_DIR) $(1)/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vmhgfs-fuse $(1)/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vmware-vmblock-fuse $(1)/bin/ +endef + $(eval $(call BuildPackage,open-vm-tools)) +$(eval $(call BuildPackage,open-vm-tools-fuse))