From 8df6943f7df17b5cf0187a987d6f33bab92cb119 Mon Sep 17 00:00:00 2001 From: Lars Wikman Date: Wed, 8 Jan 2025 14:44:23 +0100 Subject: [PATCH] Add option to rel2fw.sh to allow post-processing This would typically be invoked by `mix firmware` further up the stack. It is at the right moment to allow operating on the squashfs file system before it is packed up into the fw file. The primary purpose is to allow signing the root filesystem for use with dm-verity. --- scripts/rel2fw.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/rel2fw.sh b/scripts/rel2fw.sh index 3b1a5994..8b50372e 100755 --- a/scripts/rel2fw.sh +++ b/scripts/rel2fw.sh @@ -28,6 +28,7 @@ usage() { echo " -f Default is $PROJECT_DIR.fw" echo " -o Default is $PROJECT_DIR.img" echo " -p The ordering of files in the rootfs (may be specified more than once)" + echo " -s