[PATCH v2] defaultenv: boot/net: Boot initramfs from tftp if present

Sascha Hauer s.hauer at pengutronix.de
Tue Dec 1 00:27:39 PST 2015


On Wed, Nov 11, 2015 at 11:13:42AM +0100, Markus Pargmann wrote:
> Use an 'initramfs' file if it exists instead of nfsroot. This offers the
> possibility to quickly boot complete filesystems as initramfs without
> the need to flash an SD-card or similar. If the initramfs does not
> exist, it uses the default nfsroot mechanism.
> 
> Signed-off-by: Markus Pargmann <mpa at pengutronix.de>
> ---
> 
> Changes in v2:
> - Changed variable name to 'initramfs' to make clear that this is intended to
>   be used for initramfs. initrd is possible but requires additional linux
>   bootargs
> - Removed the hardcoded 'rdinit' bootarg
> 
>  defaultenv/defaultenv-2-base/boot/net | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list