[PATCH 09/13] UBUNTU: [Packaging] generate: add FIT support

Andy Whitcroft apw at canonical.com
Fri Sep 16 11:46:38 UTC 2022


Add basic FIT support so we can use the same base for all signed
packages.

Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian/rules | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 1c8333a..c957144 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,7 +70,13 @@ override_dh_auto_build:
 			base=$$(echo "$$s" | sed -e 's/.sipl.sig//');		\
 			cat "$$base.sipl" "$$s" >"../SIGNED/$$base";		\
 			chmod 600 "../SIGNED/$$base";				\
-		done								\
+		done;								\
+		for s in *.fit.signed; do					\
+			[ ! -f "$$s" ] && continue;				\
+			chmod 600 "$$s";					\
+			base=$$(echo "$$s" | sed -e 's/.fit.signed//');		\
+			ln "$$s" "../SIGNED/$$base";				\
+		done;								\
 	)
 
 override_dh_auto_install:
-- 
2.36.1




More information about the kernel-team mailing list