projects
/
vuplus_openembedded
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux-vuplus : fix flash_erase option on postinst.
[vuplus_openembedded]
/
recipes
/
linux
/
linux-vuplus-3.3.6.inc
diff --git
a/recipes/linux/linux-vuplus-3.3.6.inc
b/recipes/linux/linux-vuplus-3.3.6.inc
index
63f941d
..
165266a
100644
(file)
--- a/
recipes/linux/linux-vuplus-3.3.6.inc
+++ b/
recipes/linux/linux-vuplus-3.3.6.inc
@@
-40,7
+40,7
@@
kernel_do_install_append() {
pkg_postinst_kernel-image () {
if [ -d /proc/stb ] ; then
- flash_erase
all -j /dev/mtd2
+ flash_erase
/dev/mtd2 0 0
nandwrite -p /dev/mtd2 /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
fi
rm -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz