ARM: bootscript: Remove hard-coded rootpath from K+P's tpcboot.cmd
The 'rootpath' can be provided by DHCP server. Removing this line prevents from overwriting it. To do that on the DHCP server side (isc-dhcp-server) modify dhcpd.conf and add 'option root-path "192.168.X.Y:/srv/tftp/rootfs";' Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
df158705a8
commit
21c22db014
|
|
@ -65,7 +65,6 @@ fi"
|
||||||
#
|
#
|
||||||
# Provide 'boot_nfs' command
|
# Provide 'boot_nfs' command
|
||||||
#------------------------------------------------------------
|
#------------------------------------------------------------
|
||||||
setenv rootpath "/srv/tftp/KP/rootfs"
|
|
||||||
setenv nfsargs "setenv bootargs root=/dev/nfs rw \
|
setenv nfsargs "setenv bootargs root=/dev/nfs rw \
|
||||||
nfsroot=${serverip}:${rootpath},nolock,nfsvers=3"
|
nfsroot=${serverip}:${rootpath},nolock,nfsvers=3"
|
||||||
setenv addip "setenv bootargs ${bootargs} \
|
setenv addip "setenv bootargs ${bootargs} \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue