Skip to content

Commit 81f07e9

Browse files
committed
linux: Disable debug info
Kernel modules are otherwise huge, which causes problems in particular for the PAYG UKI. A better solution would be to build and then split out the debug info. There are a couple of ways to do this, see: <#176> Fixes #178 by bringing the UKI down to a mere 98.6MB.
1 parent 597d687 commit 81f07e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

elements/components/linux.bst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ config:
5353
- |
5454
python3 debian/scripts/misc/annotations --export --arch "%{debian_arch}" --flavour generic > .config
5555
56+
- |
57+
scripts/config -e DEBUG_INFO_NONE
58+
5659
- |
5760
make -j1 olddefconfig
5861

0 commit comments

Comments
 (0)