mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
The chrome root code doesn't attempt to mount the tree if there is no source root configured. So re-order the code from: - is chrome source mounted ? - does a chrome source exist ? - mount chrome source to the more logical: - does a chrome source exist ? - use ensure_mounted to check+mount This lets us use the mount cache for the chrome mounting and unifies duplicated mount/checking logic. BUG=None TEST=`cros_sdk --enter` still works with simultaneous runs TEST=`cros_sdk --enter -- ls` still works Change-Id: I7e6af9dd7f65cefa04438c2862c931f06237060a Reviewed-on: http://gerrit.chromium.org/gerrit/8032 Commit-Ready: Mike Frysinger <vapier@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> |
||
---|---|---|
.. | ||
enter_chroot.sh |