MT#61568 debian: Switch to Rules-Requires-Root no

This field tells dpkg-buildpackage that no debian/rules target needs
to run as root-like (usually via fakeroot), and can be built with no
privileges (real or faked ones). This should make the build either
faster as there will be no interposed libc calls via an LD_PRELOAD
library like fakeroot does, and more robust as fakeroot needs to keep
up with implementation details from the system libc; or more secure if
the build was being done via real root.

The full documentation can be found with «man deb-src-control» and
at «/usr/share/doc/dpkg/spec/rootless-builds.txt».

We no longer need to build the package as (fake)root.

Change-Id: I9084642bdba8bb541945bcc26ab2b254c4ba2d8e
mr13.2
Guillem Jover 6 months ago
parent 12304657e9
commit 38a080d025

2
debian/control vendored

@ -2,7 +2,7 @@ Source: ngcp-bulk-processor
Section: perl
Priority: optional
Maintainer: Sipwise Development Team <support@sipwise.com>
Rules-Requires-Root: binary-targets
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
libdata-validate-ip-perl <!nocheck>,

Loading…
Cancel
Save