ci/baremetal: shorten BM_KERNEL to filename and BM_DTB to name only

We don't need the path, not at all when we use external kernel.

Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24646>
This commit is contained in:
David Heidelberg 2023-07-31 10:48:09 +03:00 committed by Marge Bot
parent 795a099f38
commit 5174cae8c2
4 changed files with 12 additions and 12 deletions

View file

@ -86,7 +86,7 @@ if echo "$BM_KERNEL" | grep -q http; then
curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \
$BM_KERNEL -o /tftp/vmlinuz
else
cp $BM_KERNEL /tftp/vmlinuz
cp /baremetal-files/"$BM_KERNEL" /tftp/vmlinuz
fi
echo "$BM_CMDLINE" > /tftp/cmdline

View file

@ -113,8 +113,8 @@ if echo "$BM_KERNEL $BM_DTB" | grep -q http; then
cat kernel dtb > Image.gz-dtb
rm kernel
else
cat $BM_KERNEL $BM_DTB > Image.gz-dtb
cp $BM_DTB dtb
cat /baremetal-files/"$BM_KERNEL" /baremetal-files/"$BM_DTB".dtb > Image.gz-dtb
cp /baremetal-files/"$BM_DTB".dtb dtb
fi
export PATH=$BM:$PATH

View file

@ -30,7 +30,7 @@
- ./install/bare-metal/fastboot.sh
variables:
BM_CMDLINE: "ip=dhcp console=ttymxc0,115200n8 root=/dev/nfs rw nfsrootdebug init=/init $BM_KERNELARGS"
BM_KERNEL: /baremetal-files/zImage
BM_KERNEL: zImage
FLAKES_CHANNEL: "#etnaviv-ci"
.etnaviv-test:arm64:
@ -41,14 +41,14 @@
- ./install/bare-metal/fastboot.sh
variables:
BM_CMDLINE: "ip=dhcp console=ttymxc0,115200n8 root=/dev/nfs rw nfsrootdebug init=/init $BM_KERNELARGS"
BM_KERNEL: /baremetal-files/Image
BM_KERNEL: Image
FLAKES_CHANNEL: "#etnaviv-ci"
.etnaviv-gc2000:arm32:
extends:
- .etnaviv-test:arm32
variables:
BM_DTB: /baremetal-files/imx6q-cubox-i.dtb
BM_DTB: imx6q-cubox-i
DEQP_EXPECTED_RENDERER: GC2000
GPU_VERSION: "etnaviv-gc2000"
tags:
@ -58,7 +58,7 @@
extends:
- .etnaviv-test:arm64
variables:
BM_DTB: /baremetal-files/imx8mq-nitrogen.dtb
BM_DTB: imx8mq-nitrogen
DEQP_EXPECTED_RENDERER: GC7000
GPU_VERSION: "etnaviv-gc7000"
tags:

View file

@ -129,8 +129,8 @@
extends:
- .google-freedreno-test
variables:
BM_KERNEL: /baremetal-files/Image.gz
BM_DTB: /baremetal-files/apq8016-sbc.dtb
BM_KERNEL: Image.gz
BM_DTB: apq8016-sbc
GPU_VERSION: freedreno-a307
a306_gl:
@ -181,8 +181,8 @@ a306-traces:
extends:
- .google-freedreno-test
variables:
BM_KERNEL: /baremetal-files/Image.gz
BM_DTB: /baremetal-files/apq8096-db820c.dtb
BM_KERNEL: Image.gz
BM_DTB: apq8096-db820c
GPU_VERSION: freedreno-a530
tags:
- google-freedreno-db820c
@ -386,7 +386,7 @@ a660_gl:
- .google-freedreno-test
variables:
FDO_CI_CONCURRENT: 10
BM_KERNEL: /baremetal-files/cheza-kernel
BM_KERNEL: cheza-kernel
BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
GPU_VERSION: freedreno-a630
tags: