Bug 26517 - timezone: Fix zdump duplicate binary

Message ID CAG7eodGn4_tAdnwcx-5Mw+XdKHSWFWKYtDPKrwtcLmj-tG_w1g@mail.gmail.com
State Committed
Delegated to: Florian Weimer
Headers
Series Bug 26517 - timezone: Fix zdump duplicate binary |

Commit Message

PRASANTH R Nov. 23, 2020, 9:44 a.m. UTC
  Hi,

Got this small fix for timezone binary installation. kindly find the
attached patch

Thanks & Regards,
Prasanth
8124063630
  

Comments

Florian Weimer Nov. 25, 2020, 2:59 p.m. UTC | #1
* PRASANTH R. via Libc-alpha:

> Got this small fix for timezone binary installation. kindly find the
> attached patch

Thanks, I've pushed it.

Florian
  

Patch

From 50b88ed8dc9c72ace18d80b85927a8e960d08e2a Mon Sep 17 00:00:00 2001
From: Prasanth R <prasanth.r@timesys.com>
Date: Fri, 21 Aug 2020 13:39:30 +0530
Subject: [PATCH] timezone: Change zdump installation to bin directory

Commit 3bc4186c7a9, tzdata changed the zdump installation
to bin directory, which creates duplicates of zdump in the
Root filesystem.
---
 timezone/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/timezone/Makefile b/timezone/Makefile
index 75f38df..a6e7cf0 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -32,7 +32,8 @@  generated += tzselect
 testdata = $(objpfx)testdata
 
 ifeq ($(enable-timezone-tools),yes)
-install-sbin := zic zdump
+install-sbin := zic
+install-bin := zdump
 install-bin-script = tzselect
 endif
 
-- 
2.7.4