|
@@ -60,10 +60,11 @@ function a20_env {
|
60
|
60
|
dtb="$1"
|
61
|
61
|
|
62
|
62
|
# Setup boot.cmd
|
63
|
|
- if grep -q btrfs /etc/fstab ; then
|
|
63
|
+ fstype=ext4
|
|
64
|
+ if grep -q btrfs /etc/fstab; then
|
64
|
65
|
fstype=btrfs
|
65
|
|
- else
|
66
|
|
- fstype=ext4
|
|
66
|
+ fi
|
|
67
|
+
|
67
|
68
|
if [ -n "$command_line" ] ; then
|
68
|
69
|
echo flash-kernel flash-kernel/linux_cmdline string "$command_line" | debconf-set-selections
|
69
|
70
|
fi
|
|
@@ -119,10 +120,9 @@ function beaglebone_env {
|
119
|
120
|
bbb_version=$1
|
120
|
121
|
|
121
|
122
|
# Setup uEnv.txt
|
|
123
|
+ fstype=ext4
|
122
|
124
|
if grep -q btrfs /etc/fstab ; then
|
123
|
125
|
fstype=btrfs
|
124
|
|
- else
|
125
|
|
- fstype=ext4
|
126
|
126
|
fi
|
127
|
127
|
if [ ! $bbb_version ]; then
|
128
|
128
|
kernelVersion=$(ls /usr/lib/*/am335x-boneblack.dtb | head -1 | cut -d/ -f4)
|