Skip to content

Commit 1375152

Browse files
Emil-Juhlrafaeljw
authored andcommitted
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>
1 parent b31f7f7 commit 1375152

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/lib/thermal/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ endef
139139
install_lib: libs
140140
$(call QUIET_INSTALL, $(LIBTHERMAL_ALL)) \
141141
$(call do_install_mkdir,$(libdir_SQ)); \
142-
cp -fpR $(LIBTHERMAL_ALL) $(DESTDIR)$(libdir_SQ)
142+
cp -fR --preserve=mode,timestamp $(LIBTHERMAL_ALL) $(DESTDIR)$(libdir_SQ)
143143

144144
install_headers:
145145
$(call QUIET_INSTALL, headers) \

0 commit comments

Comments
 (0)