From d4c88de4acc582d6929dc36fc2eb97d0c3f9785d Mon Sep 17 00:00:00 2001 From: cshore Date: Fri, 3 Dec 2010 20:01:23 +0000 Subject: [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 --- package/block-extroot/files/50_determine_usb_root | 1 + 1 file changed, 1 insertion(+) (limited to 'package/block-extroot/files/50_determine_usb_root') 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, -- cgit v1.2.3