]> git.proxmox.com Git - pve-kernel.git/commitdiff
fix #2448: compile ISO8859-1 NLS as built-in
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Nov 2019 11:08:27 +0000 (12:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Nov 2019 11:08:29 +0000 (12:08 +0100)
Allows to mount VFAT devices even if the currently running kernel was
removed before any VFAT, or other FS using the default Native
Language Support module was mounted during the current uptime.

This then could break updating the ESP partitions, which are mounted
with VFAT in a postrm triggered step - so at a time where the current
/lib/modules/... was already removed, and so the NLS could not get
loaded.

While there are a lot of different NLS, our kernel config has:
> CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

So compile that module as built-in.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules

index df014a7b0fabc0bb02be02287bcbf016ed48508c..24f027fe1f50be24dfc5229b00a9fde483469b39 100755 (executable)
@@ -37,6 +37,7 @@ PVE_CONFIG_OPTS= \
 -e CONFIG_BLK_DEV_SR \
 -e CONFIG_BLK_DEV_DM \
 -e CONFIG_BLK_DEV_NVME \
+-e CONFIG_NLS_ISO8859_1 \
 -d CONFIG_INPUT_EVBUG \
 -d CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND \
 -e CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE \