From acc855f711ae7bce20e4fc896c829e135a6801fc Mon Sep 17 00:00:00 2001 From: Tom Marshall Date: Fri, 6 Nov 2015 16:27:01 -0800 Subject: recovery: Handle oemunlock command * Conditionally compile support based on TARGET_HAVE_OEMLOCK. * Use liboemunlock for device specific support. Change-Id: I1cf1fef8e30075b0586bb86625b7df49723974cb --- roots.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roots.h') diff --git a/roots.h b/roots.h index 9b369c0..addb142 100644 --- a/roots.h +++ b/roots.h @@ -42,7 +42,7 @@ int ensure_path_unmounted(const char* path, bool detach=false); // Reformat the given volume (must be the mount point only, eg // "/cache"), no paths permitted. Attempts to unmount the volume if // it is mounted. -int format_volume(const char* volume); +int format_volume(const char* volume, bool force = false); // Ensure that all and only the volumes that packages expect to find // mounted (/tmp and /cache) are mounted. Returns 0 on success. -- cgit v1.1