mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] screen: Fix ptxdist error message.
@ 2017-09-15 13:10 Denis OSTERLAND
  2017-09-22 13:30 ` Michael Olbrich
  2017-09-28  8:01 ` Denis OSTERLAND
  0 siblings, 2 replies; 5+ messages in thread
From: Denis OSTERLAND @ 2017-09-15 13:10 UTC (permalink / raw)
  To: ptxdist

Copy from causes this error message:
ptxdist: error: file 'BSP/platform-Name/packages/screen-4.5.0/usr/bin/screen' is a link

Install it as source does, to avoid error message.

Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
---
 rules/screen.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/screen.make b/rules/screen.make
index 82a00cd..3afc965 100644
--- a/rules/screen.make
+++ b/rules/screen.make
@@ -53,7 +53,8 @@ $(STATEDIR)/screen.targetinstall:
 	@$(call install_fixup, screen,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
 	@$(call install_fixup, screen,DESCRIPTION,missing)
 
-	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen)
+	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen-$(SCREEN_VERSION))
+	@$(call install_link, screen, screen-$(SCREEN_VERSION), /usr/bin/screen)
 
 ifdef PTXCONF_SCREEN_ETC_SCREENRC
 	@$(call install_alternative, screen, 0, 0, 0644, /etc/screenrc, n)
-- 
2.7.4


Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
Vorstand: Dr.-Ing. E.h. Thomas Diehl (†) (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm. Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH) Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] screen: Fix ptxdist error message.
  2017-09-15 13:10 [ptxdist] [PATCH] screen: Fix ptxdist error message Denis OSTERLAND
@ 2017-09-22 13:30 ` Michael Olbrich
  2017-09-22 13:58   ` Denis OSTERLAND
  2017-09-28  8:01 ` Denis OSTERLAND
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2017-09-22 13:30 UTC (permalink / raw)
  To: ptxdist

On Fri, Sep 15, 2017 at 01:10:39PM +0000, Denis OSTERLAND wrote:
> Copy from causes this error message:
> ptxdist: error: file 'BSP/platform-Name/packages/screen-4.5.0/usr/bin/screen' is a link

I would like to keep /usr/bin/screen as the actuall binary. So change the
files in pkgdir instead. Either with a patch for Makefile.in or a custom
install target that moves the files after the normal world/install.

Michael

> Install it as source does, to avoid error message.
> 
> Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
> ---
>  rules/screen.make | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/screen.make b/rules/screen.make
> index 82a00cd..3afc965 100644
> --- a/rules/screen.make
> +++ b/rules/screen.make
> @@ -53,7 +53,8 @@ $(STATEDIR)/screen.targetinstall:
>  	@$(call install_fixup, screen,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
>  	@$(call install_fixup, screen,DESCRIPTION,missing)
>  
> -	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen)
> +	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen-$(SCREEN_VERSION))
> +	@$(call install_link, screen, screen-$(SCREEN_VERSION), /usr/bin/screen)
>  
>  ifdef PTXCONF_SCREEN_ETC_SCREENRC
>  	@$(call install_alternative, screen, 0, 0, 0644, /etc/screenrc, n)
> -- 
> 2.7.4
> 
> 
> Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
> Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
> Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
> Vorstand: Dr.-Ing. E.h. Thomas Diehl (†) (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm. Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH) Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
> ___________________________________________________________________________________________________
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
> The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] screen: Fix ptxdist error message.
  2017-09-22 13:30 ` Michael Olbrich
@ 2017-09-22 13:58   ` Denis OSTERLAND
  2017-09-22 14:07     ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Denis OSTERLAND @ 2017-09-22 13:58 UTC (permalink / raw)
  To: ptxdist

Am Freitag, den 22.09.2017, 15:30 +0200 schrieb Michael Olbrich:
> On Fri, Sep 15, 2017 at 01:10:39PM +0000, Denis OSTERLAND wrote:
> > 
> > Copy from causes this error message:
> > ptxdist: error: file 'BSP/platform-Name/packages/screen-4.5.0/usr/bin/screen' is a link
> I would like to keep /usr/bin/screen as the actuall binary. So change the
> files in pkgdir instead. Either with a patch for Makefile.in or a custom
> install target that moves the files after the normal world/install.
> 
> Michael
OK.
What about this:
-	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen)
+	@$(call install_copy, screen, 0, 0, 0755, $(SCREEN_PKGDIR)/usr/bin/screen-$(SCREEN_VERSION), /usr/bin/screen)

Denis
> 
> > 
> > Install it as source does, to avoid error message.
> > 
> > Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
> > ---
> >  rules/screen.make | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/rules/screen.make b/rules/screen.make
> > index 82a00cd..3afc965 100644
> > --- a/rules/screen.make
> > +++ b/rules/screen.make
> > @@ -53,7 +53,8 @@ $(STATEDIR)/screen.targetinstall:
> >  	@$(call install_fixup, screen,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
> >  	@$(call install_fixup, screen,DESCRIPTION,missing)
> >  
> > -	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen)
> > +	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen-$(SCREEN_VERSION))
> > +	@$(call install_link, screen, screen-$(SCREEN_VERSION), /usr/bin/screen)
> >  
> >  ifdef PTXCONF_SCREEN_ETC_SCREENRC
> >  	@$(call install_alternative, screen, 0, 0, 0644, /etc/screenrc, n)
> > -- 
> > 2.7.4
> > 
> > 
> > Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
> > Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
> > Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-
> > Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
> > Vorstand: Dr.-Ing. E.h. Thomas Diehl (†) (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm.
> > Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH)
> > Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
> > ___________________________________________________________________________________________________
> > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede
> > unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
> > The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please
> > inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration,
> > distribution and/or publication of this e-mail is strictly prohibited.
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
Vorstand: Dr.-Ing. E.h. Thomas Diehl (†) (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm. Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH) Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] screen: Fix ptxdist error message.
  2017-09-22 13:58   ` Denis OSTERLAND
@ 2017-09-22 14:07     ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2017-09-22 14:07 UTC (permalink / raw)
  To: ptxdist

On Fri, Sep 22, 2017 at 01:58:42PM +0000, Denis OSTERLAND wrote:
> Am Freitag, den 22.09.2017, 15:30 +0200 schrieb Michael Olbrich:
> > On Fri, Sep 15, 2017 at 01:10:39PM +0000, Denis OSTERLAND wrote:
> > > 
> > > Copy from causes this error message:
> > > ptxdist: error: file 'BSP/platform-Name/packages/screen-4.5.0/usr/bin/screen' is a link
> > I would like to keep /usr/bin/screen as the actuall binary. So change the
> > files in pkgdir instead. Either with a patch for Makefile.in or a custom
> > install target that moves the files after the normal world/install.
> > 
> > Michael
> OK.
> What about this:
> -	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen)
> +	@$(call install_copy, screen, 0, 0, 0755, \
	$(SCREEN_PKGDIR)/usr/bin/screen-$(SCREEN_VERSION), \
	/usr/bin/screen)

Ok, I suppose, but break lines like this.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH] screen: Fix ptxdist error message.
  2017-09-15 13:10 [ptxdist] [PATCH] screen: Fix ptxdist error message Denis OSTERLAND
  2017-09-22 13:30 ` Michael Olbrich
@ 2017-09-28  8:01 ` Denis OSTERLAND
  1 sibling, 0 replies; 5+ messages in thread
From: Denis OSTERLAND @ 2017-09-28  8:01 UTC (permalink / raw)
  To: ptxdist

Copy from causes this error message:
ptxdist: error: file 'BSP/platform-Name/packages/screen-4.5.0/usr/bin/screen' is a link

Install it from link target, to avoid error message.

Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
---
 rules/screen.make | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rules/screen.make b/rules/screen.make
index 82a00cd..64cc7f5 100644
--- a/rules/screen.make
+++ b/rules/screen.make
@@ -53,7 +53,9 @@ $(STATEDIR)/screen.targetinstall:
 	@$(call install_fixup, screen,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
 	@$(call install_fixup, screen,DESCRIPTION,missing)
 
-	@$(call install_copy, screen, 0, 0, 0755, -, /usr/bin/screen)
+	@$(call install_copy, screen, 0, 0, 0755, \
+		$(SCREEN_PKGDIR)/usr/bin/screen-$(SCREEN_VERSION), \
+		/usr/bin/screen)
 
 ifdef PTXCONF_SCREEN_ETC_SCREENRC
 	@$(call install_alternative, screen, 0, 0, 0644, /etc/screenrc, n)
-- 
2.7.4


Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
Vorstand: Dr.-Ing. E.h. Thomas Diehl (†) (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm. Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH) Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2017-09-28  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-15 13:10 [ptxdist] [PATCH] screen: Fix ptxdist error message Denis OSTERLAND
2017-09-22 13:30 ` Michael Olbrich
2017-09-22 13:58   ` Denis OSTERLAND
2017-09-22 14:07     ` Michael Olbrich
2017-09-28  8:01 ` Denis OSTERLAND

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