From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH] ptxd_lib_dgen: improve error message
Date: Wed, 5 Jun 2024 11:54:58 +0200 [thread overview]
Message-ID: <20240605095458.3303464-1-rhi@pengutronix.de> (raw)
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
next reply other threads:[~2024-06-05 9:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 9:54 Roland Hieber [this message]
2024-06-15 14:58 ` [ptxdist] [APPLIED] " Michael Olbrich
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=20240605095458.3303464-1-rhi@pengutronix.de \
--to=rhi@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