diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2012-09-29 19:34:56 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-09-29 19:34:56 -0400 |
commit | 6faeb63037d7c9447aa378fe4a39e8cb924516e8 (patch) | |
tree | 70c2cabfe83859fd81cd26682f208e0d5eea3b24 | |
parent | c8a0c52c08371dfa2ada8ffbe7f0352aa17afffe (diff) |
Fix up u-boot mounting for ODROID-X.
-rwxr-xr-x | odroid-install-kernel.sh | 4 |
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 | |||
7 | ENTRY_POINT=0x40008000 | 7 | ENTRY_POINT=0x40008000 |
8 | 8 | ||
9 | # Where the U-Boot partition is mounted. | 9 | # Where the U-Boot partition is mounted. |
10 | UBOOT_PATH="/media/boot" | 10 | UBOOT_PATH="/mnt/boot" |
11 | set +e | 11 | set +e |
12 | grep "$UBOOT_PATH" /etc/mtab > /dev/null | 12 | grep "$UBOOT_PATH" /etc/mtab > /dev/null |
13 | if [ 0 -ne $? ] ; then | 13 | if [ 0 -ne $? ] ; then |
@@ -33,7 +33,7 @@ mkuinitrd | |||
33 | copy_to_uboot | 33 | copy_to_uboot |
34 | 34 | ||
35 | echo "Making LITMUS the default ..." >&2 | 35 | echo "Making LITMUS the default ..." >&2 |
36 | mv $UBOOT_PATH/$SCRIPT_FILE $UBOOT_PATH/boot.scr | 36 | sudo mv $UBOOT_PATH/$SCRIPT_FILE $UBOOT_PATH/boot.scr |
37 | echo "done." >&2 | 37 | echo "done." >&2 |
38 | 38 | ||
39 | rm_tmp_files | 39 | rm_tmp_files |