]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
deb: don't attempt to run dwz on release binaries
authorYann Dirson <yann.dirson@vates.tech>
Fri, 5 Apr 2024 14:05:53 +0000 (16:05 +0200)
committerYann Dirson <yann.dirson@vates.tech>
Fri, 5 Apr 2024 14:05:53 +0000 (16:05 +0200)
Apparently older rust would produce a debug info section in release
binaries, but now they make dwz in Debian 10 barf.

Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
debian/rules

index 326a0bc96dd9b8abc6b6599f694e88508d92226f..539598eb7251c0d2e85c7f476b4db1011a12c427 100755 (executable)
@@ -20,3 +20,6 @@ build:
 override_dh_auto_install:
        install -m755 -D $(AGENT_BINARY) \
          debian/xen-guest-agent/usr/sbin/xen-guest-agent
+
+override_dh_dwz:
+       : avoid error handling release binaries with no debug info