Fix cargo path in CI workflow
Some checks failed
Build bootupd with systemd-boot / build (push) Failing after 1m13s
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:
parent
376165a0a2
commit
593cd81876
1 changed files with 1 additions and 1 deletions
|
|
@ -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/ && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue