2021-10-13 23:40:53 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
set -ex
|
|
|
|
|
2021-10-29 02:08:30 +00:00
|
|
|
sudo apt-get update
|
2021-10-13 23:40:53 +00:00
|
|
|
sudo apt-get install --yes --no-install-recommends \
|
|
|
|
ca-certificates \
|
|
|
|
clang \
|
|
|
|
cloud-image-utils \
|
|
|
|
curl \
|
|
|
|
dpkg-dev \
|
|
|
|
expect \
|
|
|
|
g++ \
|
|
|
|
gcc \
|
|
|
|
git \
|
|
|
|
jq \
|
|
|
|
libasound2-dev \
|
|
|
|
libcap-dev \
|
|
|
|
libclang-dev \
|
|
|
|
libdbus-1-dev \
|
|
|
|
libdrm-dev \
|
|
|
|
libepoxy-dev \
|
|
|
|
libssl-dev \
|
|
|
|
libwayland-dev \
|
|
|
|
libxext-dev \
|
|
|
|
make \
|
|
|
|
nasm \
|
|
|
|
ninja-build \
|
|
|
|
openssh-client \
|
|
|
|
pkg-config \
|
|
|
|
protobuf-compiler \
|
|
|
|
python3 \
|
2021-11-01 06:32:18 +00:00
|
|
|
python3-pip \
|
2021-10-13 23:40:53 +00:00
|
|
|
python3-setuptools \
|
|
|
|
qemu-system-x86 \
|
|
|
|
rsync \
|
|
|
|
screen \
|
|
|
|
wayland-protocols
|
|
|
|
|
2021-10-29 02:08:30 +00:00
|
|
|
# Install meson for rutabaga_gfx
|
|
|
|
pip3 install meson
|
|
|
|
|
2022-01-25 23:14:43 +00:00
|
|
|
# We use mdformat to keep the mdbook at docs/ formatted
|
|
|
|
pip3 install mdformat
|
|
|
|
|
2022-02-14 20:47:01 +00:00
|
|
|
# We use argh in our cli developer tools
|
|
|
|
pip3 install argh
|
|
|
|
|
2021-10-15 01:56:44 +00:00
|
|
|
rustup component add clippy
|
|
|
|
rustup component add rustfmt
|
2021-10-13 23:40:53 +00:00
|
|
|
|
|
|
|
# The bindgen tool is required to build a crosvm dependency.
|
|
|
|
cargo install bindgen
|
|
|
|
|
|
|
|
# The mdbook and mdbook-mermaid tools are used to build the crosvm book.
|
|
|
|
cargo install mdbook --no-default-features --version "^0.4.10"
|
|
|
|
cargo install mdbook-mermaid --version "^0.8.3"
|
2022-02-02 00:49:49 +00:00
|
|
|
cargo install mdbook-linkcheck --version "^0.7.6"
|