summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-20 22:51:39 +0200
committerChristian Breunig <christian@breunig.cc>2024-09-22 09:31:31 +0200
commit53bd06d17be1d5c66f75b4546f006a6ed1b4675c (patch)
tree8b7a7379acc463152234adca3965be2c1b85513e
parentfa50a5073b6d3f3bf1f213603c43373f5a980801 (diff)
downloadvyos-build-53bd06d17be1d5c66f75b4546f006a6ed1b4675c.tar.gz
vyos-build-53bd06d17be1d5c66f75b4546f006a6ed1b4675c.zip
T861: stripping Kernel modules would also remove module signatures
As the VyOS Linux Kernel will be compiled with CONFIG_MODULE_SIG_FORCE all driver modules need to be cryptographically signed. This happens during build of the Kernel and it's 3rd party modules. Stripping the objects would remove said signature and the system will be unable to boot b/c of CONFIG_MODULE_SIG_FORCE.
-rwxr-xr-xdata/live-build-config/hooks/live/92-strip-symbols.chroot1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/live-build-config/hooks/live/92-strip-symbols.chroot b/data/live-build-config/hooks/live/92-strip-symbols.chroot
index 704f9cb3..f44cb01d 100755
--- a/data/live-build-config/hooks/live/92-strip-symbols.chroot
+++ b/data/live-build-config/hooks/live/92-strip-symbols.chroot
@@ -15,7 +15,6 @@ STRIPCMD_UNNEEDED="strip --strip-unneeded --remove-section=.comment --remove-sec
STRIPDIR_REGULAR="
"
STRIPDIR_DEBUG="
-/usr/lib/modules
"
STRIPDIR_UNNEEDED="
/etc/hsflowd/modules