mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
Since we grab a lock before mounting anything, we know that the relevant list of mounts won't change (since we haven't changed it yet). So we can cache the output of `mount` and re-use that in every subsequent check. BUG=None TEST=`cros_sdk --enter` still works with simultaneous runs TEST=`cros_sdk --enter -- ls` still works Change-Id: I27c98c923761fb777686632fe6e6604ca543cfb6 Reviewed-on: http://gerrit.chromium.org/gerrit/8030 Commit-Ready: Mike Frysinger <vapier@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> |
||
---|---|---|
.. | ||
enter_chroot.sh |