projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mvebu: puzzle-m90x: wipe rootfs_data on sysupgrade
[openwrt/openwrt.git]
/
target
/
linux
/
mvebu
/
cortexa72
/
base-files
/
lib
/
upgrade
/
emmc-puzzle.sh
diff --git
a/target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh
b/target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh
index 5e5c356ed6946ab98c5a2a39b037aeef96bcc30f..9a33b7714ccef220d9359266e7133eae60f25553 100755
(executable)
--- a/
target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh
+++ b/
target/linux/mvebu/cortexa72/base-files/lib/upgrade/emmc-puzzle.sh
@@
-32,5
+32,7
@@
platform_do_upgrade_emmc() {
v "Writing new UUID to /dev/$diskdev..."
get_image_dd "$1" of="/dev/$diskdev" bs=1 skip=440 count=4 seek=440 conv=fsync
+ dd if=/dev/zero of=$(find_mmc_part rootfs_data) bs=512 count=8
+
sleep 1
}