summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-09-29 19:34:56 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-09-29 19:34:56 -0400
commit6faeb63037d7c9447aa378fe4a39e8cb924516e8 (patch)
tree70c2cabfe83859fd81cd26682f208e0d5eea3b24
parentc8a0c52c08371dfa2ada8ffbe7f0352aa17afffe (diff)
Fix up u-boot mounting for ODROID-X.
-rwxr-xr-xodroid-install-kernel.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/odroid-install-kernel.sh b/odroid-install-kernel.sh
index b62e2c0..060152f 100755
--- a/odroid-install-kernel.sh
+++ b/odroid-install-kernel.sh
@@ -7,7 +7,7 @@ LOAD_ADDR=0x40008000
7ENTRY_POINT=0x40008000 7ENTRY_POINT=0x40008000
8 8
9# Where the U-Boot partition is mounted. 9# Where the U-Boot partition is mounted.
10UBOOT_PATH="/media/boot" 10UBOOT_PATH="/mnt/boot"
11set +e 11set +e
12grep "$UBOOT_PATH" /etc/mtab > /dev/null 12grep "$UBOOT_PATH" /etc/mtab > /dev/null
13if [ 0 -ne $? ] ; then 13if [ 0 -ne $? ] ; then
@@ -33,7 +33,7 @@ mkuinitrd
33copy_to_uboot 33copy_to_uboot
34 34
35echo "Making LITMUS the default ..." >&2 35echo "Making LITMUS the default ..." >&2
36mv $UBOOT_PATH/$SCRIPT_FILE $UBOOT_PATH/boot.scr 36sudo mv $UBOOT_PATH/$SCRIPT_FILE $UBOOT_PATH/boot.scr
37echo "done." >&2 37echo "done." >&2
38 38
39rm_tmp_files 39rm_tmp_files