Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/tzdata: install leap-seconds.list into results
@ 2022-10-27 20:30 David Johnson via buildroot
  2022-10-28  6:45 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: David Johnson via buildroot @ 2022-10-27 20:30 UTC (permalink / raw)
  To: buildroot; +Cc: David Johnson, Martin Bark, Richard Braun

add leap-seconds.list to installed files so it can be used by other packages

specifically, ntpd's ntp.conf can now include:
leapfile /usr/share/zoneinfo/leap-seconds.list

Signed-off-by: David Johnson <dave-git@centerclick.org>
---
 package/tzdata/tzdata.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/tzdata/tzdata.mk b/package/tzdata/tzdata.mk
index 21ea94ecad..7a1a77fcd9 100644
--- a/package/tzdata/tzdata.mk
+++ b/package/tzdata/tzdata.mk
@@ -59,7 +59,7 @@ endef
 
 define HOST_TZDATA_INSTALL_CMDS
 	$(INSTALL) -d -m 0755 $(HOST_DIR)/share/zoneinfo
-	cp -a $(@D)/_output/* $(@D)/*.tab $(HOST_DIR)/share/zoneinfo
+	cp -a $(@D)/_output/* $(@D)/*.tab $(@D)/leap-seconds.list $(HOST_DIR)/share/zoneinfo
 endef
 
 $(eval $(generic-package))
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/tzdata: install leap-seconds.list into results
  2022-10-27 20:30 [Buildroot] [PATCH 1/1] package/tzdata: install leap-seconds.list into results David Johnson via buildroot
@ 2022-10-28  6:45 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-10-28  6:45 UTC (permalink / raw)
  To: David Johnson via buildroot; +Cc: David Johnson, Martin Bark, Richard Braun

On Thu, 27 Oct 2022 16:30:39 -0400
David Johnson via buildroot <buildroot@buildroot.org> wrote:

> add leap-seconds.list to installed files so it can be used by other packages
> 
> specifically, ntpd's ntp.conf can now include:
> leapfile /usr/share/zoneinfo/leap-seconds.list
> 
> Signed-off-by: David Johnson <dave-git@centerclick.org>
> ---
>  package/tzdata/tzdata.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-28  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27 20:30 [Buildroot] [PATCH 1/1] package/tzdata: install leap-seconds.list into results David Johnson via buildroot
2022-10-28  6:45 ` Thomas Petazzoni via buildroot

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