Skip to content

Commit

Permalink
Disable kernel modules compression
Browse files Browse the repository at this point in the history
Debian has defaulted to compressing the modules in XZ format. This
introduces some changes that are not desired. The debug info/symbols
for modules are not stripped anymore. As a result, the size of modules
increases ten folds. Previosuly, the debug symbols for modules and
kernel were packaged separately in a -dbg package. But after this
config update, -dbg package only contains symbols for kernel binary
itself. Kernel modules have in built debug symbols. The size of ISO
image increses 3-4 times because of this. Revert to preveious state
for this config.

Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Oct 30, 2024
1 parent cc1752d commit 4f76b7f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/package/truenas/truenas.config
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,17 @@ CONFIG_SOUNDWIRE=n
# without VLAN Tag on DCB Link
#
CONFIG_CHELSIO_T4_DCB=n

#
# Debian has defaulted to compressing the modules in XZ format. This
# introduces some changes that are not desired. The debug info/symbols
# for modules are not stripped anymore. As a result, the size of modules
# increases ten folds. Previosuly, the debug symbols for modules and
# kernel were packaged separately in a -dbg package. But after this
# config update, -dbg package only contains symbols for kernel binary
# itself. Kernel modules have in built debug symbols. The size of ISO
# image increses 3-4 times because of this. Revert to preveious state
# for this config.
#
CONFIG_MODULE_COMPRESS_NONE=y
CONFIG_MODULE_COMPRESS_XZ=n

0 comments on commit 4f76b7f

Please sign in to comment.