summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-core/initscripts/initscripts-1.0/umountfs3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/initscripts/initscripts-1.0/umountfs b/recipes-core/initscripts/initscripts-1.0/umountfs
index 17b44cf..5229646 100644
--- a/recipes-core/initscripts/initscripts-1.0/umountfs
+++ b/recipes-core/initscripts/initscripts-1.0/umountfs
@@ -203,6 +203,9 @@ flash_upgrade() {
echo "MD5 check failed for ${file}"
return
fi
+ if [[ ${file} == ${install_file} ]] ; then
+ ((upgrade_script=1))
+ fi
fi
# Extract files early if we are going to
# execute the upgrade script.