[PATCH] defaultenv: make 'boot' work from subdirs
Wolfram Sang
w.sang at pengutronix.de
Mon Jan 10 06:19:18 EST 2011
Wrong pathnames prevented that.
Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
---
defaultenv/bin/boot | 4 ++--
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 at 0x8000(kernelraw)
+ addpart /dev/ram0 8M at 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 at 8M(kernel)
+ addpart /dev/ram0 8M at 8M(kernel)
fi
if [ x$kernel_loc = xnet ]; then
--
1.7.2.3
More information about the barebox
mailing list