Disable ext4 options that don't work with u-boot (#1495)
Disable these mkfs options for all new distros
This commit is contained in:
parent
f035a82726
commit
e517d588a9
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user