diff options
author | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-13 09:24:24 +0000 |
---|---|---|
committer | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-13 09:24:24 +0000 |
commit | d4627d82f4310994d6b14123a99a2c195de6320f (patch) | |
tree | 2ecde042e1f9ca33ce04a4ffcdd521a9c4fb3bc1 /package/block-extroot/files/55_determine_extroot_sysupgrade | |
parent | d011a32a8b64a07e70bff72d767bebf464cf4487 (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_sysupgrade | 6 |
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 } |