Fix cargo path in CI workflow
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m13s

- Use 'cargo' directly instead of full path
- Dockerfile sets PATH to include /usr/local/cargo/bin
- Fixes 'No such file or directory' error for cargo command
- Rust toolchain now properly accessible in container
This commit is contained in:
robojerk 2025-09-05 10:34:01 -07:00
parent 376165a0a2
commit 593cd81876

View file

@ -89,7 +89,7 @@ jobs:
cd bootupd && \
git fetch --all && \
git switch origin/sdboot-support -d && \
/root/.cargo/bin/cargo build --release --bins --features systemd-boot && \
cargo build --release --bins --features systemd-boot && \
install -Dpm0755 -t /usr/bin ./target/release/bootupd && \
ln -s ./bootupd /usr/bin/bootupctl && \
cp /usr/bin/bootupd /workspace/ && \