diff options
author | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-03 20:01:23 +0000 |
---|---|---|
committer | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-12-03 20:01:23 +0000 |
commit | d4c88de4acc582d6929dc36fc2eb97d0c3f9785d (patch) | |
tree | 19b741f8ab573440129f9c1632ccae4029608041 /package/block-extroot/files/50_determine_usb_root | |
parent | 7873df547d0423a7da9a3e6c7810b2fc4c30eb3a (diff) |
[package] block-extroot: Added md5sum to extroot and underlying root filesystem. This is used to ensure that the extroot is not mounted as the rootfs after a sysupgrade *until the user deals with the extroot).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/block-extroot/files/50_determine_usb_root')
-rw-r--r-- | package/block-extroot/files/50_determine_usb_root | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/block-extroot/files/50_determine_usb_root b/package/block-extroot/files/50_determine_usb_root index b899203e5d..e87855c2a7 100644 --- a/package/block-extroot/files/50_determine_usb_root +++ b/package/block-extroot/files/50_determine_usb_root @@ -18,6 +18,7 @@ determine_external_root() { if [ "$jffs" = "/tmp/overlay" ] && [ -r "/tmp/overlay/etc/config/fstab" ]; then UCI_CONFIG_DIR="/tmp/overlay/etc/config" ER_IS_SQUASHFS=true + ER_OVERLAY_PREFIX="/tmp/overlay" fi # For squashfs on firstboot root_device will be tmpfs for the ramoverlay, |