From 8e5e4dada713609c9b2c45ea9cf4572bb89ef761 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 14 Sep 2010 18:06:55 -0700 Subject: close update package before installing; allow remount Close the update package before invoking the binary, to allow the installer to unmount /cache if it wants to. Add a function to allow remounting of a mount as read-only. Change-Id: Idfcc96c3da66083295177f729263560be58034e4 --- mtdutils/mounts.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mtdutils/mounts.h') diff --git a/mtdutils/mounts.h b/mtdutils/mounts.h index 2e2765a93..30b2927c2 100644 --- a/mtdutils/mounts.h +++ b/mtdutils/mounts.h @@ -28,4 +28,6 @@ find_mounted_volume_by_mount_point(const char *mount_point); int unmount_mounted_volume(const MountedVolume *volume); +int remount_read_only(const MountedVolume* volume); + #endif // MTDUTILS_MOUNTS_H_ -- cgit v1.2.3