]> xenbits.xensource.com Git - xen.git/commitdiff
automation: Remove installation of packages from test scripts
authorMichal Orzel <michal.orzel@amd.com>
Wed, 26 Apr 2023 07:28:28 +0000 (09:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Apr 2023 07:28:28 +0000 (09:28 +0200)
Now, when these packages are already installed in the respective
containers, we can remove them from the test scripts.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
master commit: 72cfe1c3ad1fae95f4f0ac51dbdd6838264fdd7f
master date: 2022-12-09 14:55:33 -0800

automation/scripts/qemu-alpine-arm64.sh
automation/scripts/qemu-smoke-arm64.sh
automation/scripts/qemu-smoke-x86-64.sh

index f4ac2d856fa0fe267864a6ac638eaa3bc9bfc5a1..e191de37652cfd0754050db1928ab4a47a2a81ed 100755 (executable)
@@ -2,14 +2,6 @@
 
 set -ex
 
-apt-get -qy update
-apt-get -qy install --no-install-recommends u-boot-qemu \
-                                            u-boot-tools \
-                                            device-tree-compiler \
-                                            cpio \
-                                            curl \
-                                            busybox-static
-
 # DomU Busybox
 cd binaries
 mkdir -p initrd
index 53086a5ac77e1d048ca7c2a35d1d11409bf1943f..4e6de7e6249dc2cdd8e48a5af52ba4ad94c74d5d 100755 (executable)
@@ -2,16 +2,6 @@
 
 set -ex
 
-# Install QEMU
-export DEBIAN_FRONTENT=noninteractive
-apt-get -qy update
-apt-get -qy install --no-install-recommends u-boot-qemu \
-                                            u-boot-tools \
-                                            device-tree-compiler \
-                                            busybox-static \
-                                            cpio \
-                                            curl
-
 # XXX QEMU looks for "efi-virtio.rom" even if it is unneeded
 curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom
 ./binaries/qemu-system-aarch64 \
index 09152e3e9ca156d458ace5e8b2c4810df6905b17..be7e21872e29892cb6958cbccf7b0dc9017d4ca4 100755 (executable)
@@ -5,11 +5,6 @@ set -ex
 # variant should be either pv or pvh
 variant=$1
 
-# Install QEMU
-export DEBIAN_FRONTENT=noninteractive
-apt-get -qy update
-apt-get -qy install qemu-system-x86
-
 # Clone and build XTF
 git clone https://xenbits.xen.org/git-http/xtf.git
 cd xtf && make -j$(nproc) && cd -