summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Dahl Juhl <juhl.emildahl@gmail.com>2025-10-01 13:40:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-03 21:26:00 +0200
commit1375152bb02ab2a8435e87ea27034482dbc95f57 (patch)
tree21c9e206e32b395d4b5f34e5421e6697301d6fa4
parentb31f7f725cd932e2c2b41f3e4b66273653953687 (diff)
tools: lib: thermal: don't preserve owner in install
Instead of preserving mode, timestamp, and owner, for the object files during installation, just preserve the mode and timestamp. When installing as root, the installed files should be owned by root. When installing as user, --preserve=ownership doesn't work anyway. This makes --preserve=ownership rather pointless. Signed-off-by: Emil Dahl Juhl <juhl.emildahl@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--tools/lib/thermal/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/thermal/Makefile b/tools/lib/thermal/Makefile
index fdde0c4f85b4..41aa7a324ff4 100644
--- a/tools/lib/thermal/Makefile
+++ b/tools/lib/thermal/Makefile
@@ -139,7 +139,7 @@ endef
install_lib: libs
$(call QUIET_INSTALL, $(LIBTHERMAL_ALL)) \
$(call do_install_mkdir,$(libdir_SQ)); \
- cp -fpR $(LIBTHERMAL_ALL) $(DESTDIR)$(libdir_SQ)
+ cp -fR --preserve=mode,timestamp $(LIBTHERMAL_ALL) $(DESTDIR)$(libdir_SQ)
install_headers:
$(call QUIET_INSTALL, headers) \