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:51 +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 5710a84fe7ad24e45acb2ef62ee29eab37e8de06..926e2d1b10e037060a1e52d17470674c3addc9d9 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -265,6 +265,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