diff options
author | Vivien Didelot <vivien.didelot@gmail.com> | 2019-01-18 19:50:39 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-21 09:56:50 +0100 |
commit | 7083e6b9f750f956c11984ed2ae1809e709b90e0 (patch) | |
tree | 5c4d66b447df8c170defe0ebf7c52a64dacc4e98 /common/boot.c | |
parent | d90948f2bd1f9462a765c665c45c643ab4a15deb (diff) | |
download | barebox-7083e6b9f750f956c11984ed2ae1809e709b90e0.tar.gz barebox-7083e6b9f750f956c11984ed2ae1809e709b90e0.tar.xz |
defaultenv-2: centralize nfs commands for 'net'
Setting the nfsroot variable as well as the kernel bootargs for the
interface used to reach the server is specific to nfs, which are used
only if there's no initramfs to load from tftp. Move these statements
within the condition.
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/boot.c')
0 files changed, 0 insertions, 0 deletions