summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-01-05 08:20:53 +0000
committerLeah Rowe <leah@libreboot.org>2025-01-05 08:20:53 +0000
commit63f4578263897ddca3f1ce43db7c20a49a0c0c0c (patch)
treee6f8e2f2b9496ce514748ead45ba4778bbe87c40
parent13b06ae130fe7b507849606d1414036d8b33d154 (diff)
vendor.sh: Confirm if need_files=n
Users running setmac on an X200 tarball for example, will now see it being modified, if they didn't specify setmac keep, so they might think vendor files are being inserted, which they are not. Therefore, a confirmation is provided at the end of the output. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/vendor.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index b5feb8b0..53203724 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -410,6 +410,10 @@ vendor_inject()
&& printf "DO NOT flash images from '%s'\n" \
"$archive" 1>&2
+ [ "$need_files" = "n" ] && printf \
+ "Board '%s' doesn't use vendorfiles, so none were inserted.\n" \
+ "$board"
+
#
# catch-all error handler, for libreboot release opsec:
#