aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-07-24 00:55:10 -0400
committerTheodore Ts'o <tytso@mit.edu>2023-07-24 00:55:10 -0400
commitb0f9925a0c209e346e0ff92f7d862eb7eadbd8ea (patch)
treee33e2d41a6aea4af6ac42fe933052a6892518d2b
parenta88d7111891999011833fdb146da9c2d3c88bccf (diff)
downloadxfstests-bld-b0f9925a0c209e346e0ff92f7d862eb7eadbd8ea.tar.gz
test-appliance: install xxd for gce-xfstests built using Debian Bookworm
The script /lib/udev/google_nvme_id requires xxd to function correctly, and the xxd package isn't installed by default in the Debian Bookworm package. Without xxd, the device name set by "gcloud compute instances attach-disk --device scratch" won't be visible as /dev/disk/by-id/google-scratch. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--test-appliance/gce-xfstests-bld.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-appliance/gce-xfstests-bld.sh b/test-appliance/gce-xfstests-bld.sh
index 56e01616..264e788c 100644
--- a/test-appliance/gce-xfstests-bld.sh
+++ b/test-appliance/gce-xfstests-bld.sh
@@ -219,6 +219,10 @@ else
PACKAGES="$PACKAGES exfatprogs"
fi
+if test "$NEW_SUITE" = "bookworm" ; then
+ PACKAGES="$PACKAGES xxd"
+fi
+
apt-get install -y $PACKAGES
# n.b. we have to install git$BACKPORTS separately afer installing git
# because otherwise apt will complain about dependency problems.