Public bug reported:
Ubuntu kernel modules are stripped prior to signing:
$(build_cd) $(kmake) $(build_O) $(conc_level) modules_install $(vdso) \
INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(pkgdir)/ \
INSTALL_FW_PATH=$(pkgdir)/lib/firmware/$(abi_release)-$*
And STRIPPING in the buildlog.
But when doing the build of the nvidia dkms modules, they are not
stripped prior to signing:
# sh ./BUILD unsigned
# cp *.ko unstripped/
# cp -r unstripped stripped
# cd stripped; strip --strip-debug *.ko; cd ../
# du --si unstripped/ stripped/
99M unstripped/
46M stripped/
# du --si unstripped/*.ko stripped/*.ko
3.9M unstripped/nvidia-drm.ko
2.3M unstripped/nvidia-modeset.ko
316k unstripped/nvidia-peermem.ko
41M unstripped/nvidia-uvm.ko
51M unstripped/nvidia.ko
103k stripped/nvidia-drm.ko
1.6M stripped/nvidia-modeset.ko
17k stripped/nvidia-peermem.ko
1.7M stripped/nvidia-uvm.ko
43M stripped/nvidia.ko
I am unsure how come DKMS doesn't call install modules with
INSTALL_MOD_STRIP=1 option, and if stripping nvidia modules results in
correctly working drivers.
If it is possible to strip nvidia modules, they will half in size.
** Affects: linux-restricted-modules (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951865
Title:
nvidia modules not stripped before signing like everything else
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/1951865/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs