* [PATCH v2 1/1] fix: remove unsigned example module before including the signed one
[not found] <20230529023707.2552-1-pingfang.liao@outlook.com>
@ 2023-05-29 2:37 ` Pingfang Liao
0 siblings, 0 replies; only message in thread
From: Pingfang Liao @ 2023-05-29 2:37 UTC (permalink / raw)
To: isar-users; +Cc: felix.moessbauer, pingfang.liao, Pingfang Liao
We need remove unsigned example module firstly, because signed and unsigned
example module will install example-module.ko to the same path, which will
lead to dpkg error.
Signed-off-by: Pingfang Liao <pingfang.liao@outlook.com>
---
meta-isar/conf/multiconfig/qemuamd64-sb-bullseye.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-isar/conf/multiconfig/qemuamd64-sb-bullseye.conf b/meta-isar/conf/multiconfig/qemuamd64-sb-bullseye.conf
index 19a105e..ca76685 100644
--- a/meta-isar/conf/multiconfig/qemuamd64-sb-bullseye.conf
+++ b/meta-isar/conf/multiconfig/qemuamd64-sb-bullseye.conf
@@ -4,7 +4,8 @@ DISTRO ?= "debian-bullseye"
# include public keys
IMAGE_INSTALL += "sb-mok-public"
-# include signed example module
+# remove unsigned example module and include signed example module
+IMAGE_INSTALL:remove = "example-module-${KERNEL_NAME}"
IMAGE_INSTALL += "example-module-signed-${KERNEL_NAME}"
# add MOK utilities to insert MOK into EFI
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread