5
0
mirror of git://git.proxmox.com/git/lxc.git synced 2025-03-22 06:50:41 +03:00

override dh_fixperms to fix lxc-user-nic permissions

It's supposed to be setuid root and is required for
unprivileged users to directly use lxc-start.
This commit is contained in:
Wolfgang Bumiller 2016-11-03 10:25:20 +01:00
parent cd70d42111
commit f34b928943

5
debian/rules vendored
View File

@ -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