rules.mk: add INSTALL_SUID macro
authorJo-Philipp Wich <jo@mein.io>
Thu, 29 Nov 2018 10:59:20 +0000 (11:59 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 29 Nov 2018 11:07:32 +0000 (12:07 +0100)
This is useful for packages that want to stage SUID executables.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b0261ee5e9bcbc743960727b5aad1829250d1add)

rules.mk

index a97b2d2155695c3a15f361ea2fe95b977be05959..56ecbf2eb8f6ae2793d1d0cf83684dfa2a91b3ef 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -276,6 +276,7 @@ PATCH:=patch
 PYTHON:=python
 
 INSTALL_BIN:=install -m0755
+INSTALL_SUID:install -m4755
 INSTALL_DIR:=install -d -m0755
 INSTALL_DATA:=install -m0644
 INSTALL_CONF:=install -m0600