Skip to content

Commit

Permalink
Tools: Do not use system packages on openSUSE and Arch
Browse files Browse the repository at this point in the history
* We only tested on apt, don't blindly change dev env stuff that's not
  tested in CI

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
  • Loading branch information
Ryanf55 committed Oct 1, 2024
1 parent 1bdc635 commit ba2bb26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tools/environment_install/install-prereqs-arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sudo usermod -a -G uucp "$USER"

sudo pacman -Syu --noconfirm --needed $BASE_PKGS $SITL_PKGS $PX4_PKGS

python3 -m venv --system-site-packages "$HOME"/venv-ardupilot
python3 -m venv "$HOME"/venv-ardupilot

# activate it:
SOURCE_LINE="source $HOME/venv-ardupilot/bin/activate"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sudo usermod -a -G dialout "$USER"

$ZYPPER $BASE_PKGS $SITL_PKGS || echo "Check zypper output for errors"

python3 -m venv --system-site-packages "$HOME"/venv-ardupilot
python3 -m venv "$HOME"/venv-ardupilot

SHELL_LOGIN=".profile"
# activate it:
Expand Down

0 comments on commit ba2bb26

Please sign in to comment.