projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
[oweals/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 356da2d43baa78971367e46ae1d8ba9a147688c9..28e4a91ff1c43302b2a5dc6191d575f64e107e84 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-49,7
+49,7
@@
platform_do_upgrade_combined() {
if [ -n "$partitions" ] && [ -n "$kernelpart" ] && \
[ ${kern_blocks:-0} -gt 0 ] && \
- [ ${root_blocks:-0} -gt
${kern_blocks:-0}
] && \
+ [ ${root_blocks:-0} -gt
0
] && \
[ ${erase_size:-0} -gt 0 ];
then
local append=""