mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-01 13:49:03 +03:00
The sudo executable is installed without the setuid bit set, which prevents sudo from working. This patch adds a post-install hook to fix the permissions of the sudo executable. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
452 B
Makefile
22 lines
452 B
Makefile
#############################################################
|
|
#
|
|
# sudo
|
|
#
|
|
#############################################################
|
|
|
|
SUDO_VERSION = 1.8.5p1
|
|
SUDO_SITE = http://www.sudo.ws/sudo/dist
|
|
SUDO_CONF_OPT = \
|
|
--without-lecture \
|
|
--without-sendmail \
|
|
--without-umask \
|
|
--with-logging=syslog \
|
|
--without-interfaces \
|
|
--without-pam
|
|
|
|
define SUDO_PERMISSIONS
|
|
/usr/bin/sudo f 4755 0 0 - - - - -
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|