Removing BTRFS nand-install option from legacy kernel(s) since it's not reliable

https://github.com/igorpecovnik/lib/issues/589
This commit is contained in:
Igor Pecovnik
2016-12-25 09:46:08 +01:00
parent 1dfd157a9f
commit 3bfa63ba01

View File

@@ -294,7 +294,7 @@ formatemmc()
IFS=" "
BTRFS=$(cat /proc/filesystems | grep -o btrfs)
FilesystemTargets="1 ext4 2 ext3 3 ext2"
[[ -n $BTRFS ]] && FilesystemTargets=$FilesystemTargets" 4 $BTRFS"
[[ -n $BTRFS && `uname -r | grep -v '^3.4.' ` ]] && FilesystemTargets=$FilesystemTargets" 4 $BTRFS"
FilesystemOptions=($FilesystemTargets)
FilesystemCmd=(dialog --title "Select filesystem type for eMMC $1" --backtitle "$backtitle" --menu "\n$infos" 10 60 16)