mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
fix(macos): trust osrf/simulation tap in --sim-tools block (#27891)
Homebrew 6.0+ refuses to load formulae from untrusted third-party taps. This adds a trusted block for OSRF taps. Signed-off-by: Cade Andersen <cadecandersen@gmail.com>
This commit is contained in:
@@ -121,6 +121,14 @@ if [[ $INSTALL_SIM == "--sim-tools" ]]; then
|
|||||||
# osrf/simulation: gz-harmonic (Gazebo Harmonic meta-formula)
|
# osrf/simulation: gz-harmonic (Gazebo Harmonic meta-formula)
|
||||||
brew tap osrf/simulation
|
brew tap osrf/simulation
|
||||||
|
|
||||||
|
# Homebrew 6.0+ refuses to load formulae from untrusted third-party
|
||||||
|
# taps (see the toolchain trust block above). Without this, the
|
||||||
|
# gz-harmonic install aborts and the script still exits successfully,
|
||||||
|
# leaving the simulation stack silently missing.
|
||||||
|
if brew trust --help &> /dev/null; then
|
||||||
|
brew trust osrf/simulation
|
||||||
|
fi
|
||||||
|
|
||||||
PX4_SIM_BREW_PACKAGES=(
|
PX4_SIM_BREW_PACKAGES=(
|
||||||
exiftool
|
exiftool
|
||||||
glog
|
glog
|
||||||
|
|||||||
Reference in New Issue
Block a user