projects
/
openwrt
/
staging
/
jow.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/staging/jow.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/x86/base-files/lib/upgrade/platform.sh
b/target/linux/x86/base-files/lib/upgrade/platform.sh
index 439ba8f5125d97932248ff966340165a84e1b24a..162dbaf3aaaa00539851856b67e8e6b1a5eb8b08 100644
(file)
--- a/
target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/x86/base-files/lib/upgrade/platform.sh
@@
-54,7
+54,7
@@
platform_do_upgrade() {
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