Skip to contentSkip to conversation

meta-integrity: kernel-modsign: prevents splitting out debug symbols

PATCH Jose Quaresma 1 participant 2 messages Jun 30, 2022 – Jul 18, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Gracious ping.

Jose Quaresma via lists.yoctoproject.org <quaresma.jose= [email protected]> escreveu no dia segunda, 27/06/2022 à(s) 13:02:

Quoted 42 lines

Starting with [1] kernel modules symbols is being slipped in OE-core and this breaks the kernel modules sign, so disable it.

[1]
https://git.openembedded.org/openembedded-core/commit/?id=e09a8fa931fe617afc05bd5e00dca5dd3fe386e8

---
 meta-integrity/classes/kernel-modsign.bbclass | 2 ++
 1 file changed, 2 insertions(+)
meta-integrity/classes/kernel-modsign.bbclass +0 -0
index 093c358..d3aa7fb 100644
@@ -13,7 +13,9 @@ MODSIGN_PRIVKEY ?=

"${MODSIGN_KEY_DIR}/privkey_modsign.pem"
MODSIGN_X509 ?= "${MODSIGN_KEY_DIR}/x509_modsign.crt"

# If this class is enabled, disable stripping signatures from modules

meta-integrity/classes/kernel-modsign.bbclass +2 -1
+# as well disable the debug symbols split
 INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
 kernel_do_configure:prepend() {
     if [ -f "${MODSIGN_PRIVKEY}" -a -f "${MODSIGN_X509}" ]; then
--

2.36.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#57391):
https://lists.yoctoproject.org/g/yocto/message/57391
Mute This Topic: https://lists.yoctoproject.org/mt/92018870/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#2 lore raw
In reply to a message not in the archive

Hi Armin,

Can this patch be backported to kirkstone?

Jose

Jose Quaresma via lists.yoctoproject.org <quaresma.jose= [email protected]> escreveu no dia segunda, 27/06/2022 à(s) 13:02:

Quoted 42 lines

Starting with [1] kernel modules symbols is being slipped in OE-core and this breaks the kernel modules sign, so disable it.

[1]
https://git.openembedded.org/openembedded-core/commit/?id=e09a8fa931fe617afc05bd5e00dca5dd3fe386e8

---
 meta-integrity/classes/kernel-modsign.bbclass | 2 ++
 1 file changed, 2 insertions(+)
meta-integrity/classes/kernel-modsign.bbclass +0 -0
index 093c358..d3aa7fb 100644
@@ -13,7 +13,9 @@ MODSIGN_PRIVKEY ?=

"${MODSIGN_KEY_DIR}/privkey_modsign.pem"
MODSIGN_X509 ?= "${MODSIGN_KEY_DIR}/x509_modsign.crt"

# If this class is enabled, disable stripping signatures from modules

meta-integrity/classes/kernel-modsign.bbclass +2 -1
+# as well disable the debug symbols split
 INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
 kernel_do_configure:prepend() {
     if [ -f "${MODSIGN_PRIVKEY}" -a -f "${MODSIGN_X509}" ]; then
--

2.36.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#57391):
https://lists.yoctoproject.org/g/yocto/message/57391
Mute This Topic: https://lists.yoctoproject.org/mt/92018870/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma