mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] timezone: remove legacy '/etc/timezone' file
@ 2017-09-28  9:35 Juergen Borleis
  0 siblings, 0 replies; only message in thread
From: Juergen Borleis @ 2017-09-28  9:35 UTC (permalink / raw)
  To: ptxdist

This file and its content is deprecated since '/usr' and its content is
mandatory. Thus, the replacement '/etc/localtime' works always and is
used and manipulated by the systemd tools.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 rules/timezone.make | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/rules/timezone.make b/rules/timezone.make
index c2dc71893..ba287247d 100644
--- a/rules/timezone.make
+++ b/rules/timezone.make
@@ -115,9 +115,6 @@ $(STATEDIR)/timezone.targetinstall:
 ifneq ($(call remove_quotes,$(PTXCONF_TIMEZONE_LOCALTIME)),)
 	@$(call install_link, timezone, ..$(TIMEZONE_LOCALTIME_FILE), \
 		/etc/localtime)
-	@$(call install_alternative, timezone, 0, 0, 0644, /etc/timezone)
-	@$(call install_replace, timezone, /etc/timezone, @TIMEZONE@, \
-		$(PTXCONF_TIMEZONE_LOCALTIME))
 endif
 
 	@$(call install_finish, timezone)
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-28  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-28  9:35 [ptxdist] [PATCH] timezone: remove legacy '/etc/timezone' file Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox