diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-11-05 14:00:15 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-12-08 15:00:01 +0100 |
commit | b45c0e92c0c9f6a271f32272c3a2994109e51d12 (patch) | |
tree | d3969b4f043d49942187fe7b0426a12134b2014e /classes/image_type_tezi.bbclass | |
parent | d196201e85ecf67fcba67e2a8a5622cfaaa73aa1 (diff) |
boot.cmd: add an ability to use static ip for nfs-root
The kernel is able to use predefined IP address of NFS server.
Add special values of root_devtype "nfs-dhcp" and "nfs-static"
and proceed them accordingly to make the script able to boot the system
from a network without dhcp-server.
To boot the system from the particular server, just set the "serverip"
to the proper IP address of an TFTP/NFS server and set "devtype" to
"tftp".
To use the particular NFS server for mouting the root-fs only, set the
"serverip" to the proper IP address of an NFS server and set
"root_devtype" to "nfs-static".
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 2532dc8de4b43287a7f031858355b5c93f280791)
Diffstat (limited to 'classes/image_type_tezi.bbclass')
0 files changed, 0 insertions, 0 deletions