diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-23 12:23:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-23 12:23:53 +0200 |
commit | 41c3a26c00f63f880d657aaaa6935015915f275f (patch) | |
tree | 10538737a203554c8c80548f340618ed847305ed /package | |
parent | 033e30653835c5c3fc785ab60e6a110203e6241d (diff) |
fix installer for nand case
Diffstat (limited to 'package')
-rw-r--r-- | package/adkinstall/src/adkinstall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/adkinstall/src/adkinstall b/package/adkinstall/src/adkinstall index f123de0b8..1038d3c78 100644 --- a/package/adkinstall/src/adkinstall +++ b/package/adkinstall/src/adkinstall @@ -157,10 +157,10 @@ case $target { umount /mnt fi if (( nand )); then - mount_fs /dev/mtdblockp1 1 $fs /mnt + mount_fs /dev/mtdblock 1 $fs /mnt rm -rf /mnt/* >/dev/null 2>&1 mkdir /mnt/boot - mount_fs /dev/mtdblockp1 0 $fs /mnt/boot + mount_fs /dev/mtdblock 0 $fs /mnt/boot extract_archive $archive /mnt fix_perm /mnt umount /mnt/boot |