Add option to deploy Chrome to stateful partition
Flag --mount-dir <mount_dir> allows Chrome to be deployed in target_dir,
specified by --target-dir, and then bind mounted on mount_dir.
Flag --mount puts deploy_chrome in mount state. If no target directory
is specified, it sets to /mnt/stateful_partition/opt/google/chrome;
if no mount directory is specified, it sets it to /opt/google/chrome.
Deploying chrome without --target-dir or the mount flags will still deploy it,
by default, to /opt/google/chrome.
NOTE: As of now, the default mount directory is not created by the script.
Signed-off-by: Thiago Goncales <firstname.lastname@example.org>
Reviewed-by: Ryan Cui <email@example.com>
2 files changed