From fca1bfe8406898105d1d724fb808f0cbcf985ae4 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 17 Sep 2017 12:18:15 +0200 Subject: dpkg-buildpackage: Add support for rootless builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement the rootless-builds specification, by honoring the Rules-Requires-Root (R³) field. --- scripts/Dpkg/Control/FieldsCore.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/Dpkg/Control') diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index f5c38d635..8f5d7f34a 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -416,6 +416,11 @@ our %FIELDS = ( allowed => CTRL_TESTS, separator => FIELD_SEP_SPACE, }, + 'rules-requires-root' => { + name => 'Rules-Requires-Root', + allowed => CTRL_INFO_SRC, + separator => FIELD_SEP_SPACE, + }, 'section' => { name => 'Section', allowed => CTRL_INFO_SRC | CTRL_INDEX_SRC | ALL_PKG, -- cgit v1.2.3