From e517d588a95cb0ea51c15bd55a5ad59a06c79bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Becker=20B=C3=A9la?= <44864471+micsurin@users.noreply.github.com> Date: Sat, 3 Aug 2019 02:02:54 +0200 Subject: [PATCH] Disable ext4 options that don't work with u-boot (#1495) Disable these mkfs options for all new distros --- lib/debootstrap.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/debootstrap.sh b/lib/debootstrap.sh index f6ea1d5836..89c46927d2 100644 --- a/lib/debootstrap.sh +++ b/lib/debootstrap.sh @@ -302,8 +302,7 @@ prepare_partitions() # parttype[nfs] is empty # metadata_csum and 64bit may need to be disabled explicitly when migrating to newer supported host OS releases - # TODO: Disable metadata_csum only for older releases (jessie)? - if [[ $(lsb_release -sc) == bionic ]]; then + if [[ $(lsb_release -sc) =~ bionic|buster|cosmic|disco ]]; then mkopts[ext4]='-q -m 2 -O ^64bit,^metadata_csum' elif [[ $(lsb_release -sc) == xenial ]]; then mkopts[ext4]='-q -m 2'