e2e_tests: Add the sg3-utils packages to the test rootfs.

`sg3-utils` is the package needed for `sg_reset`, `sg_opcodes`, and
other `sg_*` commands, which sends SCSI commands to devices. This commit
adds the package to the test rootfs so that `sg_*` commands can be used
in the e2e_tests in later commit (cf. https://crrev.com/c/4958314).

BUG=b:300042376
TEST=./run_guest.sh boots a guest with the `sg_*` commands installed.

Change-Id: I644d7bda3eab054ea8e88b1e78edcf6df659a259
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4974876
Reviewed-by: Takaya Saeki <takayas@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Joe Hattori <hattorij@google.com>
This commit is contained in:
Joe Hattori 2023-10-25 00:59:27 +00:00 committed by crosvm LUCI
parent c0c64df051
commit 429c10ceda
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
r0010
r0011

View file

@ -7,7 +7,7 @@ FROM ${ARCH}/debian:bookworm
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
--mount=type=cache,target=/var/lib/apt,sharing=private \
apt-get update \
&& apt-get install --yes pciutils ncat alsa-utils sox
&& apt-get install --yes pciutils ncat alsa-utils sox sg3-utils
# Note: This docker file is run from the $(target)/rootfs directory specified in
# the Makefile.