ci/init-stage1: Add /dev/fd symlink

Create a symlink from /dev/fd to /proc/self/fd if /dev/fd is missing.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35167>
This commit is contained in:
Valentine Burley
2025-06-03 13:16:27 +02:00
committed by Marge Bot
parent 15b6967154
commit 9fae52a19c
2 changed files with 6 additions and 1 deletions

View File

@@ -27,3 +27,8 @@ echo "nameserver 8.8.8.8" > /etc/resolv.conf
# Set the time so we can validate certificates before we fetch anything;
# however as not all DUTs have network, make this non-fatal.
for _ in 1 2 3; do sntp -sS pool.ntp.org && break || sleep 2; done || true
# Create a symlink from /dev/fd to /proc/self/fd if /dev/fd is missing.
if [ ! -e /dev/fd ]; then
ln -s /proc/self/fd /dev/fd
fi

View File

@@ -30,7 +30,7 @@ variables:
ALPINE_X86_64_BUILD_TAG: "20250423-rootfs"
ALPINE_X86_64_LAVA_SSH_TAG: "20250423-rootfs"
ALPINE_X86_64_LAVA_TRIGGER_TAG: "20250609-helper"
ALPINE_X86_64_LAVA_TRIGGER_TAG: "20250609-init"
FEDORA_X86_64_BUILD_TAG: "20250423-rootfs"