summaryrefslogtreecommitdiff
path: root/scripts/package/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package/debian/rules')
-rwxr-xr-xscripts/package/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules
index 0ffa806bbd78..7ab31419579f 100755
--- a/scripts/package/debian/rules
+++ b/scripts/package/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
# SPDX-License-Identifier: GPL-2.0-only
+# in case debian/rules is executed directly
+export DEB_RULES_REQUIRES_ROOT := no
+
include debian/rules.vars
ifneq (,$(filter-out parallel=1,$(filter parallel=%,$(DEB_BUILD_OPTIONS))))