nvidia modules not stripped before signing like everything else
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu kernel modules are stripped prior to signing:
$(build_cd) $(kmake) $(build_O) $(conc_level) modules_install $(vdso) \
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/
2.3M unstripped/
316k unstripped/
41M unstripped/
51M unstripped/
103k stripped/
1.6M stripped/
17k stripped/
1.7M stripped/
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.