Commit 6560a2df authored by Eli Schwartz's avatar Eli Schwartz Committed by Florian Pritz
Browse files

archbuild: allow passing through the SOURCE_DATE_EPOCH variable

When using restrictive sudoers profiles, the builtin mechanism for
whitelisting this variable on the sudo command line does not work.

Explicitly whitelist it anyway by matching on the ARCHBUILD role.
parent 1c25da63
......@@ -3,5 +3,7 @@ Cmnd_Alias ARCHBUILD = /usr/sbin/makechrootpkg, /usr/sbin/mkarchroot, \
/usr/sbin/arch-nspawn, /usr/local/bin/syncrepo, /usr/bin/multilib-build, \
/usr/bin/multilib-testing-build, /usr/bin/multilib-staging-build
Defaults!ARCHBUILD env_keep+=SOURCE_DATE_EPOCH
%dev ALL = NOPASSWD: ARCHBUILD
%tu ALL = NOPASSWD: ARCHBUILD
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment