mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/opendoas: add SUID bit to installed binary
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: Yann E. MORIN <yann.morin@orange.com> [Marcus: slightly reword commit title to mention SUID bit] Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
committed by
Marcus Hoffmann
parent
6add6e3cd8
commit
f773bb8bc0
@@ -50,10 +50,14 @@ define OPENDOAS_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define OPENDOAS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/doas $(TARGET_DIR)/usr/bin/doas
|
||||
$(INSTALL) -D $(@D)/doas $(TARGET_DIR)/usr/bin/doas
|
||||
$(OPENDOAS_INSTALL_PAM_CONF)
|
||||
endef
|
||||
|
||||
define OPENDOAS_PERMISSIONS
|
||||
/usr/bin/doas f 4755 0 0 - - - - -
|
||||
endef
|
||||
|
||||
# NOTE: Even though this package has a "configure" script, it is not
|
||||
# generated using autotools, so we have to use the generic package
|
||||
# infrastructure.
|
||||
|
||||
Reference in New Issue
Block a user