| #!/bin/bash |
| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # shellcheck disable=SC1091 |
| CONTRIB_DIR="$(dirname "$(readlink -f "$0")")/.." |
| . "${CONTRIB_DIR}/common.sh" || exit 1 |
| |
| die "The script has been moved to /usr/share/vboot/bin/swap_ec_rw in CrOS SDK. |
| If the script doesn't exist, please do repo sync and update chroot. |
| Or, do the following manually: |
| $ repo sync platform/vboot_reference |
| $ cros workon --host start vboot_reference |
| $ sudo emerge vboot_reference" |