mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] ptxd_lib_dgen: improve error message
Date: Sat, 15 Jun 2024 16:58:40 +0200	[thread overview]
Message-ID: <20240615145840.4135865-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240605095458.3303464-1-rhi@pengutronix.de>

Thanks, applied as 3795e32cfba7dea65a078e4c50ef630732f4c93b.

Michael

[sent from post-receive hook]

On Sat, 15 Jun 2024 16:58:40 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Make clear why that error happens, just in case someone decides to
> create a target package named "image-viewer".
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20240605095458.3303464-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
> index 1e01939d8018..8a08bcc44e8e 100644
> --- a/scripts/lib/ptxd_lib_dgen.awk
> +++ b/scripts/lib/ptxd_lib_dgen.awk
> @@ -100,7 +100,7 @@ $0 ~ /^include[[:space:]]+\/.*\.make$/ {
>  $1 ~ /^\$\(STATEDIR\)\/(image-.*|host-.*|cross-.*)\.targetinstall(.post)?:/ {
>  	match($0, /\$\(STATEDIR\)\/((image-.*|host-.*|cross-.*)\.targetinstall(.post)?):/, m);
>  	print "\nError in " old_filename " line " lineno ":\n" \
> -		"  '" m[1] "' stage will be ignored.\n" \
> +		"  '" m[1] "' stage in host/cross/image rule will be ignored.\n" \
>  		"  See section 'Rule File Layout' in the PTXdist reference for more info:\n" \
>  		"  https://www.ptxdist.org/doc/ref_manual.html#rule-file-layout"
>  	exit 1;



      reply	other threads:[~2024-06-15 14:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05  9:54 [ptxdist] [PATCH] " Roland Hieber
2024-06-15 14:58 ` Michael Olbrich [this message]

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=20240615145840.4135865-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@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