diff -Nru open-vm-tools-10.3.5/debian/changelog open-vm-tools-10.3.5/debian/changelog --- open-vm-tools-10.3.5/debian/changelog 2019-03-04 20:02:52.000000000 +0100 +++ open-vm-tools-10.3.5/debian/changelog 2019-03-12 08:31:03.000000000 +0100 @@ -1,3 +1,12 @@ +open-vm-tools (2:10.3.5-7ubuntu1) disco; urgency=medium + + * Added Modaliases to open-vm-tools-desktop to auto-discover and + auto-install the driver on Ubuntu via ubuntu-drivers. The driver is then + installed at installation time and available on first boot for an improved + user experience (LP: #1819207) + + -- Jean-Baptiste Lallement Tue, 12 Mar 2019 08:31:03 +0100 + open-vm-tools (2:10.3.5-7) unstable; urgency=medium [ Christian Ehrhardt ] diff -Nru open-vm-tools-10.3.5/debian/control open-vm-tools-10.3.5/debian/control --- open-vm-tools-10.3.5/debian/control 2019-03-04 20:02:52.000000000 +0100 +++ open-vm-tools-10.3.5/debian/control 2019-03-12 08:31:03.000000000 +0100 @@ -1,7 +1,8 @@ Source: open-vm-tools Section: admin Priority: extra -Maintainer: Bernd Zeimetz +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Bernd Zeimetz Build-Depends: debhelper (>= 11~), autotools-dev, doxygen, libcunit1-dev, libdumbnet-dev, libfuse-dev, libgtkmm-3.0-dev, libgtk-3-dev, @@ -43,6 +44,7 @@ xauth, xserver-xorg-input-vmmouse, xserver-xorg-video-vmware Suggests: xdg-utils +XB-Modaliases: ${modaliases} Description: Open VMware Tools for virtual machines hosted on VMware (GUI) The Open Virtual Machine Tools (open-vm-tools) project is an open source implementation of VMware Tools. It is a suite of virtualization utilities and diff -Nru open-vm-tools-10.3.5/debian/rules open-vm-tools-10.3.5/debian/rules --- open-vm-tools-10.3.5/debian/rules 2019-03-04 20:02:52.000000000 +0100 +++ open-vm-tools-10.3.5/debian/rules 2019-03-12 08:30:32.000000000 +0100 @@ -3,6 +3,12 @@ DEBHELPER_VERSION = $(strip $(shell dpkg-query -f '$${Version}' -W debhelper)) DEBHELPER_SYSTEMD_OK = $(strip $(shell dpkg --compare-versions $(DEBHELPER_VERSION) ge 10.9.1~; echo $$?)) +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) + VENDOR := UBUNTU +else + VENDOR := DEBIAN +endif + %: dh ${@} --sourcedirectory=open-vm-tools @@ -71,6 +77,13 @@ mkdir -p debian/open-vm-tools-desktop/lib/systemd/system/open-vm-tools.service.d cp debian/desktop.conf debian/open-vm-tools-desktop/lib/systemd/system/open-vm-tools.service.d/ +override_dh_gencontrol: + if [ "${VENDOR}" = "UBUNTU" ]; \ + then \ + dh_gencontrol -- -Vmodaliases="vmwgfx(pci:v000015ADd00000405sv*sd*bc*sc*i*)"; \ + else \ + dh_gencontrol; \ + fi override_dh_builddeb: dh_builddeb -- -Zxz