summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-08 11:27:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-10 09:54:43 +0200
commit1ffc13cf3c43eb33a4777e92482d26c426d8425d (patch)
treee53cc85a4a2c3d3f11db6ee37b5ad4be200b9919 /defaultenv
parentb00be49bdb39ea923211bce5ef2f1a7dc3814ccf (diff)
downloadbarebox-1ffc13cf3c43eb33a4777e92482d26c426d8425d.tar.gz
barebox-1ffc13cf3c43eb33a4777e92482d26c426d8425d.tar.xz
defaultenv: add support of oftree file pass via dhcp (option 224)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r--defaultenv/bin/boot3
1 files changed, 3 insertions, 0 deletions
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 5186aeecca..b54ea6b71c 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -50,6 +50,9 @@ if [ x$ip = xdhcp -o x$ip = "xdhcp-barebox" ]; then
if [ x$bootfile != x ]; then
kernelimage=$bootfile
fi
+ if [ x$dhcp_oftree_file != x ]; then
+ oftreeimage=$dhcp_oftree_file
+ fi
fi
fi