projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method
[openwrt/openwrt.git]
/
target
/
linux
/
mvebu
/
base-files
/
lib
/
upgrade
/
sdcard.sh
diff --git
a/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
b/target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
index 5ca5e71fe7ff9cb923df87339f60ec29362adee9..3bfdce97e8d9bc531dcdee02852e48995dafcd53 100644
(file)
--- a/
target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
+++ b/
target/linux/mvebu/base-files/lib/upgrade/sdcard.sh
@@
-49,7
+49,7
@@
platform_do_upgrade_sdcard() {
sync
- if [ "$SAVE_PARTITIONS" = "1" ]; then
+ if [ "$
UPGRADE_OPT_
SAVE_PARTITIONS" = "1" ]; then
get_partitions "/dev/$diskdev" bootdisk
#extract the boot sector from the image