8c68a3c5d5
The entry in /etc/fstab about the mount parameters of the root partition needs to be done not only for builds with u-boot. But, if the record already exists, then it will not be added. The file system type is set by the variable VM_FSTYPE.
5 lines
135 B
Bash
Executable File
5 lines
135 B
Bash
Executable File
#!/bin/sh
|
|
|
|
grep -qe "[[:space:]]/[[:space:]]" /etc/fstab ||
|
|
printf "LABEL=ROOT\t/\t$GLOBAL_VM_FSTYPE\tdefaults\t1 1\n" >> /etc/fstab
|