diff --git a/debian/rules b/debian/rules index d6b5408..d64428f 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,8 @@ # output every command that modifies files on the build system. #DH_VERBOSE = 1 +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk @@ -29,7 +31,8 @@ override_dh_auto_configure: override_dh_strip: dh_strip --dbg-package=lxc-pve-dbg - +override_dh_fixperms: + dh_fixperms -Xusr/lib/$(DEB_HOST_MULTIARCH)/lxc/lxc-user-nic override_dh_install: dh_apparmor -p lxc-pve --profile-name=usr.bin.lxc-start