diff options
author | Roland Hieber <rhi@pengutronix.de> | 2020-08-19 12:59:09 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-21 22:06:43 +0200 |
commit | 537dbdecfde24dfdba056d263025b411b8a0db05 (patch) | |
tree | 9b5b7b59fdff541e2650907d9c76c9b6f61ee88f /rules/python.make | |
parent | 455015358553bade699536203a16da6a87a67fdf (diff) | |
download | ptxdist-537dbdecfde24dfdba056d263025b411b8a0db05.tar.gz ptxdist-537dbdecfde24dfdba056d263025b411b8a0db05.tar.xz |
rules: explicitly specify sticky/setuid/setgid bits for install_* macros
Until now the bits were implied to be 0, but we should be specific here.
All other packages already use the four-digit variant.
These instances were found by using:
git grep -e 'call install_\(alternative\|copy\|lib\), [^,]\+, [^,]\+, [^,]\+, [0-9][0-9][0-9][^0-9]'
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Message-Id: <20200819105909.21441-2-rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python.make')
-rw-r--r-- | rules/python.make | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/python.make b/rules/python.make index 61642cf14..6bb9ae8fd 100644 --- a/rules/python.make +++ b/rules/python.make @@ -192,12 +192,12 @@ $(STATEDIR)/python.targetinstall: $(PYTHON_SKIP_LIST) \ -a \( -name "*.so" -o -name "*.pyc" \) | \ while read file; do \ - $(call install_copy, python, 0, 0, 644, -, $${file##.}); \ + $(call install_copy, python, 0, 0, 0644, -, $${file##.}); \ done - @$(call install_copy, python, 0, 0, 755, -, /usr/bin/python$(PYTHON_MAJORMINOR)) + @$(call install_copy, python, 0, 0, 0755, -, /usr/bin/python$(PYTHON_MAJORMINOR)) @$(call install_link, python, python$(PYTHON_MAJORMINOR), /usr/bin/python2) - @$(call install_lib, python, 0, 0, 644, libpython$(PYTHON_MAJORMINOR)) + @$(call install_lib, python, 0, 0, 0644, libpython$(PYTHON_MAJORMINOR)) ifdef PTXCONF_PYTHON_SYMLINK @$(call install_link, python, python$(PYTHON_MAJORMINOR), /usr/bin/python) |