Browse Source

tzdata: don't touch /etc/localtime

master
Alejandro Mery 9 years ago
parent
commit
777448bf8f
1 changed files with 29 additions and 0 deletions
  1. +29
    -0
      base/tzdata/no-update-localtime.patch

+ 29
- 0
base/tzdata/no-update-localtime.patch

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../tzdata/no-update-localtime.patch
# Copyright (C) 2015 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
don't touch /etc/localtime
--- ./Makefile.orig 2015-05-06 11:11:10.763788072 +0000
+++ ./Makefile 2015-05-06 11:14:09.279788072 +0000
@@ -378,7 +378,7 @@
$(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \
$(DESTDIR)$(MANDIR)/man8
$(ZIC) -y $(YEARISTYPE) \
- -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)
+ -d $(DESTDIR)$(TZDIR) -p $(POSIXRULES)
cp -f iso3166.tab $(ZONETABLES) $(DESTDIR)$(TZDIR)/.
cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/.
cp libtz.a $(DESTDIR)$(LIBDIR)/.

Loading…
Cancel
Save