commit | 2e135279c5ff0ef8de55df094f828da4e2f13f97 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Tue Jul 03 19:36:42 2018 -0500 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Jul 26 14:08:20 2018 -0500 |
tree | 2c70d2c73a657c2df736b335b32fd77a2b2bc8ff | |
parent | e20caddb440dcc53a73226d995458b66c354b269 [diff] |
net: Read bootfile from env on netboot_common() Instead of depending on a env callback for bootfile, read it explicitly. We do this because the bootfile can be specified on the command line and if it is, we will overwrite the internal variable. If a netboot_common() is called again with no bootfile parameter, we want to use the one in the environment. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>