Skip to content

Commit

Permalink
Exclude msr-tools package on Arm
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Woollett-Light <[email protected]>
  • Loading branch information
Jonathan Woollett-Light authored and dianpopa committed Nov 18, 2022
1 parent 85580d7 commit 1644b3c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion resources/tests/setup_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ prepare_fc_rootfs() {
SSH_DIR="$BUILD_DIR/ssh"
RESOURCE_DIR="$2"

packages="udev systemd-sysv openssh-server iproute2 msr-tools"
packages="udev systemd-sysv openssh-server iproute2"

# msr-tools is only supported on x86-64.
arch=$(uname -m)
if [ "${arch}" == "x86_64" ]; then
packages="$packages msr-tools"
fi

apt-get update
apt-get install -y --no-install-recommends $packages

Expand Down

0 comments on commit 1644b3c

Please sign in to comment.