mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-25 13:14:01 +00:00

This avoids having to hardcode profile targets in multiple places and also fixes the confusing entry points into scripts both by arguments and environment variables. It also makes the setup script a lot more debuggable and scalable. OS detection is a lot more robust, where it will try to use pip to set up the distro python package, and if pip is missing try to install it. If OS detection fails now, a user can use --os on contrib/setup for specifying it.
21 lines
373 B
Bash
Executable File
21 lines
373 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
|
|
#install dependencies
|
|
xbps-install -Suy python3
|
|
./contrib/ci/fwupd_setup_helpers.py install-dependencies --yes -o void
|
|
|
|
#clone test firmware if necessary
|
|
. ./contrib/ci/get_test_firmware.sh
|
|
|
|
#build
|
|
rm -rf build
|
|
meson build \
|
|
-Dgusb:tests=false \
|
|
-Dgcab:docs=false \
|
|
-Dconsolekit=false \
|
|
-Dsystemd=false \
|
|
-Delogind=true
|
|
ninja -C build test -v
|