aboutsummaryrefslogtreecommitdiff
path: root/rules/common.mk
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-14 11:13:13 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-14 11:13:13 +0400
commit5085f1be9cf54e9db1290ea923e933f8354207f0 (patch)
treea4465102c39c397a9672d7cfcb71c0b6f5392e33 /rules/common.mk
parent177fdeb11d3e6a167a340bb1a89d15591b84a08e (diff)
downloadcibs-5085f1be9cf54e9db1290ea923e933f8354207f0.tar.gz
Can run some commands as root
Diffstat (limited to 'rules/common.mk')
-rw-r--r--rules/common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/common.mk b/rules/common.mk
index 291b488..9ddadae 100644
--- a/rules/common.mk
+++ b/rules/common.mk
@@ -27,6 +27,10 @@ ifeq (,$(__common_mk))
# Default:
bits := 32
+# Prepended to commands which require root privileges
+# May be overriden in /etc/cibs/cibs.conf to, for example, pfexec
+root := sudo
+
mach := $(shell uname -p)
mach32 :=
mach64 := amd64