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>
1 parent d90948f commit 7083e6b9f750f956c11984ed2ae1809e709b90e0
@Vivien Didelot Vivien Didelot authored on 18 Jan 2019
Sascha Hauer committed on 21 Jan 2019
Showing 1 changed file
View
defaultenv/defaultenv-2-base/boot/net