mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
arch.sh: switch permissions of pip install (again)
after testing the right solution on a fresh installation
This commit is contained in:
committed by
Daniel Agar
parent
123f769306
commit
7e2fb6b4da
+3
-5
@@ -69,9 +69,7 @@ sudo pacman -Sy --noconfirm --needed \
|
|||||||
|
|
||||||
# Python dependencies
|
# Python dependencies
|
||||||
echo "Installing PX4 Python3 dependencies"
|
echo "Installing PX4 Python3 dependencies"
|
||||||
pip install --upgrade pip setuptools wheel
|
pip install --user -r ${DIR}/requirements.txt
|
||||||
pip install -r ${DIR}/requirements.txt
|
|
||||||
|
|
||||||
|
|
||||||
# NuttX toolchain (arm-none-eabi-gcc)
|
# NuttX toolchain (arm-none-eabi-gcc)
|
||||||
if [[ $INSTALL_NUTTX == "true" ]]; then
|
if [[ $INSTALL_NUTTX == "true" ]]; then
|
||||||
@@ -83,10 +81,10 @@ if [[ $INSTALL_NUTTX == "true" ]]; then
|
|||||||
vim \
|
vim \
|
||||||
;
|
;
|
||||||
|
|
||||||
# add user to dialout group (serial port access)
|
# add user to uucp group (to get serial port access)
|
||||||
sudo usermod -aG uucp $USER
|
sudo usermod -aG uucp $USER
|
||||||
|
|
||||||
# remove modem manager (interferes with PX4 serial port/USB serial usage).
|
# remove modem manager (interferes with PX4 serial port usage)
|
||||||
sudo pacman -R modemmanager --noconfirm
|
sudo pacman -R modemmanager --noconfirm
|
||||||
|
|
||||||
# arm-none-eabi-gcc
|
# arm-none-eabi-gcc
|
||||||
|
|||||||
Reference in New Issue
Block a user