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:
Matthias Grob
2020-07-21 09:11:09 +02:00
committed by Daniel Agar
parent b8b19f6166
commit aad7e88af2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -131,6 +131,7 @@ if [[ $INSTALL_SIM == "true" ]]; then
# PX4 gazebo simulation dependencies
sudo pacman -S --noconfirm --needed \
dmidecode \
eigen3 \
hdf5 \
opencv \
+1
View File
@@ -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 \