Skip to content

Commit

Permalink
nano: switch to generic so that space is allocated more cautiously
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Aug 19, 2015
1 parent d336a8b commit 5882708
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/nano.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ set -e
. ./common.sh && $(${SCRUB_ARGS})

. ${SRCDIR}/tools/tools/nanobsd/FlashDevice.sub
sub_FlashDevice sandisk 4g
sub_FlashDevice generic 4g

# chop off excess bytes that do not align to 8 byte boundard
NANO_MEDIASIZE=$(expr ${NANO_MEDIASIZE} - \( ${NANO_MEDIASIZE} % 8 \))

setup_stage ${STAGEDIR}
setup_base ${STAGEDIR}
Expand Down

0 comments on commit 5882708

Please sign in to comment.