mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] timezone: remove legacy '/etc/timezone' file
Date: Thu, 28 Sep 2017 11:35:17 +0200	[thread overview]
Message-ID: <20170928093517.15085-1-jbe@pengutronix.de> (raw)

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

                 reply	other threads:[~2017-09-28  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170928093517.15085-1-jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox