summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-02-21 17:57:50 -0600
committerJohn Klug <john.klug@multitech.com>2018-02-21 17:57:50 -0600
commiteda8099a485451be78d59723bd4fdc2359d04eec (patch)
tree2e3d1587e0aeb21dd3741b8408235a398df9feef
parent49146bfa8d273143f217d90d360275239c9e8408 (diff)
downloadmeta-mlinux-eda8099a485451be78d59723bd4fdc2359d04eec.tar.gz
meta-mlinux-eda8099a485451be78d59723bd4fdc2359d04eec.tar.bz2
meta-mlinux-eda8099a485451be78d59723bd4fdc2359d04eec.zip
Need to upgrade when no install script. Matches mLinux 3
-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.