Skip to contentSkip to conversation

meta-integrity: kernel-modsign: Change weak default value

PATCH In review Daiane Angolini 2 participants 2 messages Aug 26, 2021 – Aug 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-integrity: kernel-modsign: Change weak default value

Assign a weak default value for MODSIGN_KEY_DIR so the other layers can set a default value for them as well.

---
 meta-integrity/classes/kernel-modsign.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-integrity/classes/kernel-modsign.bbclass +1 -1
index cf5d3eb..093c358 100644
@@ -2,7 +2,7 @@
 # set explicitly in a local.conf before activating kernel-modsign.
 # To use the insecure (because public) example keys, use
 # MODSIGN_KEY_DIR = "${INTEGRITY_BASE}/data/debug-keys"
-MODSIGN_KEY_DIR ?= "MODSIGN_KEY_DIR_NOT_SET"
+MODSIGN_KEY_DIR ??= "MODSIGN_KEY_DIR_NOT_SET"
 
 # Private key for modules signing. The default is okay when
 # using the example key directory.
Signature · 1 line
2.30.2
#1 lore raw

merged
thanks

Quoted 24 lines · Daiane Angolini

Assign a weak default value for MODSIGN_KEY_DIR so the other layers can set a default value for them as well.

---
 meta-integrity/classes/kernel-modsign.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-integrity/classes/kernel-modsign.bbclass +1 -1
index cf5d3eb..093c358 100644
@@ -2,7 +2,7 @@
 # set explicitly in a local.conf before activating kernel-modsign.
 # To use the insecure (because public) example keys, use
 # MODSIGN_KEY_DIR = "${INTEGRITY_BASE}/data/debug-keys"
-MODSIGN_KEY_DIR ?= "MODSIGN_KEY_DIR_NOT_SET"
+MODSIGN_KEY_DIR ??= "MODSIGN_KEY_DIR_NOT_SET"
 
 # Private key for modules signing. The default is okay when
 # using the example key directory.