mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gt: version bump 31b13554... -> 2021-09-30-g7247547a
@ 2022-01-06 10:59 Michael Tretter
  2022-01-21  7:19 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2022-01-06 10:59 UTC (permalink / raw)
  To: ptxdist; +Cc: mtr

Update to the latest master to get a few build system cleanups. For
example, the install location of the config file is now /etc, which
allows us to use install_alternative to be able to override the config
in a BSP.

Also add the date to the package version and document that there are no
tags for gt.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/gt.make | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rules/gt.make b/rules/gt.make
index 5fc40c2e247a..53deaba5a4c1 100644
--- a/rules/gt.make
+++ b/rules/gt.make
@@ -14,8 +14,9 @@ PACKAGES-$(PTXCONF_GT) += gt
 #
 # Paths and names
 #
-GT_VERSION	:= 31b135546d0d1733b5b7ca19f48748c06824d65a
-GT_MD5		:= 5ae9260049f5d2cd2ebeccef92e7888b
+# No tags: use a fake descriptive commit-ish to include the date
+GT_VERSION	:= 2021-09-30-g7247547a
+GT_MD5		:= ac390e90cc866ca95cf4821fbf25812b
 GT		:= gt-$(GT_VERSION)
 GT_SUFFIX	:= tar.gz
 GT_URL		:= https://github.com/linux-usb-gadgets/gt/archive/$(GT_VERSION).$(GT_SUFFIX)
@@ -50,8 +51,7 @@ $(STATEDIR)/gt.targetinstall:
 	@$(call install_fixup, gt, DESCRIPTION, missing)
 
 	@$(call install_copy, gt, 0, 0, 0755, -, /usr/bin/gt)
-	@$(call install_copy, gt, 0, 0, 0644, \
-	        $(GT_PKGDIR)/usr/etc/gt/gt.conf, /etc/gt/gt.conf)
+	@$(call install_alternative, gt, 0, 0, 0644, /etc/gt/gt.conf)
 
 	@$(call install_finish, gt)
 
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

* Re: [ptxdist] [APPLIED] gt: version bump 31b13554... -> 2021-09-30-g7247547a
  2022-01-06 10:59 [ptxdist] [PATCH] gt: version bump 31b13554... -> 2021-09-30-g7247547a Michael Tretter
@ 2022-01-21  7:19 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-01-21  7:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

Thanks, applied as 8f95df1a30b1f3345b43cb01c2c7860aa3d2d078.

Michael

[sent from post-receive hook]

On Fri, 21 Jan 2022 08:19:20 +0100, Michael Tretter <m.tretter@pengutronix.de> wrote:
> Update to the latest master to get a few build system cleanups. For
> example, the install location of the config file is now /etc, which
> allows us to use install_alternative to be able to override the config
> in a BSP.
> 
> Also add the date to the package version and document that there are no
> tags for gt.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> Message-Id: <20220106105934.1598955-1-m.tretter@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/gt.make b/rules/gt.make
> index 5fc40c2e247a..53deaba5a4c1 100644
> --- a/rules/gt.make
> +++ b/rules/gt.make
> @@ -14,8 +14,9 @@ PACKAGES-$(PTXCONF_GT) += gt
>  #
>  # Paths and names
>  #
> -GT_VERSION	:= 31b135546d0d1733b5b7ca19f48748c06824d65a
> -GT_MD5		:= 5ae9260049f5d2cd2ebeccef92e7888b
> +# No tags: use a fake descriptive commit-ish to include the date
> +GT_VERSION	:= 2021-09-30-g7247547a
> +GT_MD5		:= ac390e90cc866ca95cf4821fbf25812b
>  GT		:= gt-$(GT_VERSION)
>  GT_SUFFIX	:= tar.gz
>  GT_URL		:= https://github.com/linux-usb-gadgets/gt/archive/$(GT_VERSION).$(GT_SUFFIX)
> @@ -50,8 +51,7 @@ $(STATEDIR)/gt.targetinstall:
>  	@$(call install_fixup, gt, DESCRIPTION, missing)
>  
>  	@$(call install_copy, gt, 0, 0, 0755, -, /usr/bin/gt)
> -	@$(call install_copy, gt, 0, 0, 0644, \
> -	        $(GT_PKGDIR)/usr/etc/gt/gt.conf, /etc/gt/gt.conf)
> +	@$(call install_alternative, gt, 0, 0, 0644, /etc/gt/gt.conf)
>  
>  	@$(call install_finish, gt)
>  

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

end of thread, other threads:[~2022-01-21  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 10:59 [ptxdist] [PATCH] gt: version bump 31b13554... -> 2021-09-30-g7247547a Michael Tretter
2022-01-21  7:19 ` [ptxdist] [APPLIED] " Michael Olbrich

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