summaryrefslogtreecommitdiff
path: root/package/block-extroot/files/55_determine_extroot_sysupgrade
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2011-03-13 09:24:24 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2011-03-13 09:24:24 +0000
commit183b4d1a28eb811e51886f251a1b7f0d749aac41 (patch)
tree13f4a5768729da111106ca7371e80c021ac51c78 /package/block-extroot/files/55_determine_extroot_sysupgrade
parent63c68ca40e83969aeefac18173a92aad6d3827ec (diff)
downloadmtk-20170518-183b4d1a28eb811e51886f251a1b7f0d749aac41.zip
mtk-20170518-183b4d1a28eb811e51886f251a1b7f0d749aac41.tar.gz
mtk-20170518-183b4d1a28eb811e51886f251a1b7f0d749aac41.tar.bz2
extroot: block-mount block-extroot: Added ability to do a whole disk extroot instead of only an overlay-based extroot.
SVN-Revision: 26109
Diffstat (limited to 'package/block-extroot/files/55_determine_extroot_sysupgrade')
-rw-r--r--package/block-extroot/files/55_determine_extroot_sysupgrade6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/block-extroot/files/55_determine_extroot_sysupgrade b/package/block-extroot/files/55_determine_extroot_sysupgrade
index 5a6ad04..d458b63 100644
--- a/package/block-extroot/files/55_determine_extroot_sysupgrade
+++ b/package/block-extroot/files/55_determine_extroot_sysupgrade
@@ -13,7 +13,7 @@ check_set_md5sum() {
er_extroot_md5sum="$(cat $er_md5sum_file)"
fi
- local er_overlay_file="/overlay/etc/extroot.md5sum"
+ local er_overlay_file="${ER_OVERLAY_ROM}/etc/extroot.md5sum"
local er_extroot_overlay_md5sum
if [ -f "$er_overlay_file" ]; then
@@ -24,8 +24,8 @@ check_set_md5sum() {
cat $er_md5sum_file >$er_overlay_file
elif [ "$er_extroot_overlay_md5sum" != "$er_extroot_md5sum" ]; then
pi_extroot_mount_success="false"
- mkdir -p /tmp/overlay-disabled
- mount --move /overlay /tmp/overlay-disabled
+ mkdir -p /tmp${ER_OVERLAY_ROM}-disabled
+ mount --move ${ER_OVERLAY_ROM} /tmp${ER_OVERLAY_ROM}-disabled
fi
}