From 28703bb5ae13539ab4c1c597e6a53a5292a7edde Mon Sep 17 00:00:00 2001 From: Ken Bannister Date: Tue, 1 Apr 2025 18:09:29 -0400 Subject: [PATCH] Add comment with secure boot signature file example for preload Change-type: patch Signed-off-by: Ken Bannister --- src/commands/preload/index.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/commands/preload/index.ts b/src/commands/preload/index.ts index 45eb0040..29f4dab4 100644 --- a/src/commands/preload/index.ts +++ b/src/commands/preload/index.ts @@ -162,8 +162,13 @@ Can be repeated to add multiple certificates.\ ); } - // Verify that image is not enabled for secure boot. First, confirm it - // is a secure boot image with an /opt/*.sig file in the rootA partition. + // Verify that image is not enabled for secure boot. First, confirm it is + // a secure boot image with a .sig file in the /opt directory of the rootA + // partition. For example, below are contents for generic-amd64 device type: + // $ ls -l opt + // total 864696 + // -rw-r--r-- 1 root root 2378170368 Mar 26 09:14 balena-image-generic-amd64.balenaos-img + // -rw-r--r-- 1 root root 512 Mar 9 2018 balena-image-generic-amd64.balenaos-img.sig const { explorePartition, BalenaPartition } = await import( '../../utils/image-contents' );