Files
kde-linux/basic-test-efi-addon.sh
Harald Sitter d1319c0603 implement a very trivial basic test for the image
this will hopefully prevent super obviously broken images from making it
onto the server at all
2025-04-30 18:55:45 +02:00

14 lines
391 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
# SPDX-FileCopyrightText: 2025 Harald Sitter <sitter@kde.org>
set -eux
cd efi/EFI/Linux/
dir="$UKI.extra.d"
[ -d "$dir" ] || mkdir "$dir"
ukify build \
--cmdline "kde-linux.basic-test=1 kde-linux.basic-test-callback=http://10.0.2.2:${PORT}/good" \
--output "$dir/basic-test.addon.efi"