mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 13:02:25 +08:00
setup scripts: install dmidecode before using it
On normal desktop distributions dmidecode is preinstalled and I was assuming it's part of the core tools. Thanks to a hint https://github.com/PX4/Firmware/pull/15241#issuecomment-659395458 I found out it's not and am installing the package before using it.
This commit is contained in:
committed by
Daniel Agar
parent
b8b19f6166
commit
aad7e88af2
@@ -131,6 +131,7 @@ if [[ $INSTALL_SIM == "true" ]]; then
|
||||
|
||||
# PX4 gazebo simulation dependencies
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
dmidecode \
|
||||
eigen3 \
|
||||
hdf5 \
|
||||
opencv \
|
||||
|
||||
@@ -196,6 +196,7 @@ if [[ $INSTALL_SIM == "true" ]]; then
|
||||
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
|
||||
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install \
|
||||
dmidecode \
|
||||
gazebo9 \
|
||||
gstreamer1.0-plugins-bad \
|
||||
gstreamer1.0-plugins-base \
|
||||
|
||||
Reference in New Issue
Block a user