mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ptxd_lib_dgen: improve error message
@ 2024-06-05  9:54 Roland Hieber
  2024-06-15 14:58 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2024-06-05  9:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

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>
---
 scripts/lib/ptxd_lib_dgen.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.39.2




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

* Re: [ptxdist] [APPLIED] ptxd_lib_dgen: improve error message
  2024-06-05  9:54 [ptxdist] [PATCH] ptxd_lib_dgen: improve error message Roland Hieber
@ 2024-06-15 14:58 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-06-15 14:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

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;



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

end of thread, other threads:[~2024-06-15 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-05  9:54 [ptxdist] [PATCH] ptxd_lib_dgen: improve error message Roland Hieber
2024-06-15 14:58 ` [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