summaryrefslogtreecommitdiff
path: root/scripts/live-helpers
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-helpers')
-rw-r--r--scripts/live-helpers7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 44bb12a..a935001 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -313,6 +313,13 @@ find_cow_device ()
return
fi
+ if [ "${PERSISTENT}" = "nofiles" ]
+ then
+ # do not mount the device to find for image files
+ # just skip this
+ break
+ fi
+
case "$(get_fstype ${devname})" in
vfat|ext2|ext3|jffs2)
mkdir -p "${cow_backing}"