summaryrefslogtreecommitdiffstats
path: root/package/block-extroot/files/55_determine_extroot_sysupgrade
diff options
context:
space:
mode:
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 09:24:24 +0000
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 09:24:24 +0000
commitd4627d82f4310994d6b14123a99a2c195de6320f (patch)
tree2ecde042e1f9ca33ce04a4ffcdd521a9c4fb3bc1 /package/block-extroot/files/55_determine_extroot_sysupgrade
parentd011a32a8b64a07e70bff72d767bebf464cf4487 (diff)
[package] extroot: block-mount block-extroot: Added ability to do a whole disk extroot instead of only an overlay-based extroot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26109 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 5a6ad04f8..d458b63bb 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
}