xbps-src: require sudo to build packages.
The reason is that fakeroot can't read files that have restrictive perms and you'd have to change them before the src installation, and restoring them at binpkg pre-installation. I prefer to avoid all this and build the pkg with appropiate perms. --HG-- extra : convert_revision : 8a5086049ab575962913eda0cb2ace0c211b97f1
This commit is contained in:
@@ -32,8 +32,4 @@ session optional pam_xauth.so
|
||||
session required pam_env.so
|
||||
session required pam_unix.so
|
||||
_EOF
|
||||
chmod 644 $destdir/etc/pam.d/sudo
|
||||
chmod 644 $destdir/usr/libexec/sudo/sudo_noexec.so
|
||||
chmod 755 $destdir/usr/bin/sudo* $destdir/usr/sbin/visudo
|
||||
chmod 644 $destdir/etc/sudoers
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user