jenkins/kola/qemu_uefi.sh: create missing folders

This ports a similar change from "main" to create the directory for
amd64 if it doesn't exist because mantle is not installed in the SDK.
This commit is contained in:
Kai Lueke 2022-04-28 00:20:01 +09:00
parent 3031b60759
commit e3bb9751fd

View File

@ -50,7 +50,7 @@ bin/cork download-image \
enter lbunzip2 -k -f /mnt/host/source/tmp/flatcar_production_image.bin.bz2
# create folder to handle case where arm64 is missing
sudo mkdir -p chroot/usr/lib/kola/arm64
sudo mkdir -p chroot/usr/lib/kola/{arm64,amd64}
# copy all of the latest mantle binaries into the chroot
sudo cp -t chroot/usr/lib/kola/arm64 bin/arm64/*
sudo cp -t chroot/usr/lib/kola/amd64 bin/amd64/*