mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] screen: Fix ptxdist error message.
Date: Fri, 22 Sep 2017 15:30:08 +0200	[thread overview]
Message-ID: <20170922133008.mxjyd2weaosau4vx@pengutronix.de> (raw)
In-Reply-To: <1505480940-31682-1-git-send-email-Denis.Osterland@diehl.com>

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

  reply	other threads:[~2017-09-22 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-15 13:10 Denis OSTERLAND
2017-09-22 13:30 ` Michael Olbrich [this message]
2017-09-22 13:58   ` Denis OSTERLAND
2017-09-22 14:07     ` Michael Olbrich
2017-09-28  8:01 ` Denis OSTERLAND

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170922133008.mxjyd2weaosau4vx@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox