summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-01-10 12:19:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-10 12:33:17 +0100
commite7d81285c804efa3688b517abafc254c12024116 (patch)
treeb5d2a641c2cb1001cf463ce0560adda7cc83d7ba
parent3d0f543b836595cd9e5ad7ec1b333a58b819fea1 (diff)
downloadbarebox-e7d81285c804efa3688b517abafc254c12024116.tar.gz
defaultenv: make 'boot' work from subdirs
Wrong pathnames prevented that. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--defaultenv/bin/boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 42c7ec2..4c2975d 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -56,13 +56,13 @@ fi
if [ ! -e /dev/ram0.kernelraw ]; then
# arm raw kernel images are usually located at sdram start + 0x8000
- addpart dev/ram0 8M@0x8000(kernelraw)
+ addpart /dev/ram0 8M@0x8000(kernelraw)
fi
if [ ! -e /dev/ram0.kernel ]; then
# Here we can safely put the kernel without risking of overwriting it
# while extracting
- addpart dev/ram0 8M@8M(kernel)
+ addpart /dev/ram0 8M@8M(kernel)
fi
if [ x$kernel_loc = xnet ]; then