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

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