mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-11 07:13:30 -07:00
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:
committed by
Markus Unterwaditzer
parent
e216043a14
commit
e68ba6ba52
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user