Always run all builds with -p

Running without -p can confuse cargo to enable the wrong set of
featureflags.

Fix #581
This commit is contained in:
Markus Unterwaditzer
2025-08-30 13:28:07 +02:00
committed by Markus Unterwaditzer
parent e216043a14
commit e68ba6ba52
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ jobs:
targets: armv7-unknown-linux-musleabihf
- uses: Swatinem/rust-cache@v2
- name: Build rootshell (armv7)
run: cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile=firmware
run: cargo build -p rootshell --bin rootshell --target armv7-unknown-linux-musleabihf --profile=firmware
- uses: actions/upload-artifact@v4
with:
name: rootshell
+4 -4
View File
@@ -38,13 +38,13 @@ Now you can root your device and install Rayhunter by running:
```sh
# Profile can be changed to 'firmware-devel' when building for development.
# Build time will decrease at the expense of binary size.
cargo build --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware
cargo build -p rayhunter-daemon --bin rayhunter-daemon --target armv7-unknown-linux-musleabihf --profile firmware
cargo build --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware
cargo build -p rootshell --bin rootshell --target armv7-unknown-linux-musleabihf --profile firmware
# Replace 'orbic' with your device type if different.
# A list possible values can be found with 'cargo run --bin installer help'.
cargo run --bin installer orbic
# A list of possible values can be found with 'cargo run --bin installer help'.
cargo run -p installer --bin installer orbic
```
### If you're on Windows or can't run the install scripts