Use shorter fs label for EFI partition to not break with recent dosfstools
authorMichael Prokop <mika@grml.org>
Thu, 15 Apr 2021 16:13:40 +0000 (18:13 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 15 Apr 2021 16:13:40 +0000 (18:13 +0200)
commit181ec9a3760e8baa4577a91938f469e1f6f64587
tree259d93e4f131f214e719c23267ec464ab7a38f36
parentd9988a53a4823be82f1790ffa5ed21c28fb9a43a
Use shorter fs label for EFI partition to not break with recent dosfstools

This used to work fine until dosfstools 4.1:

| root@grml ~ # mkfs.fat -F32 -n "EFI System Partition" /dev/loop1
| mkfs.fat 4.1 (2017-01-24)
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows

Now with dosfstools >=4.2 it's failing though:

| root@grml ~ # mkfs.fat -F32 -n "EFI System Partition" /dev/loop1
| mkfs.fat 4.2 (2021-01-31)
| mkfs.fat: Label can be no longer than 11 characters

So instead use "EFI" as filesystem label, to not fail with newer dosfstools.

Closes: #987014
Closes: grml/grml-debootstrap#168
grml-debootstrap