Skip to content

Commit 5af2f38

Browse files
committed
rm update checks
1 parent 77c406b commit 5af2f38

6 files changed

+29
-12
lines changed

default_settings.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
export INSTALL_DOCS=true
4+
export INSTALL_ROS=true
5+
export INSTALL_ARDUINO=true
6+
export INSTALL_WEB=true
7+
export INSTALL_PYTHON=true
8+
export INSTALL_JUPYTER=true
9+
export EXPIRE_PASSWD=true
10+
export INSTALL_NETWORK=true
11+
export INSTALL_PROVISIONING=false
12+
export INSTALL_VSCODE=true
13+
export INSTALL_PAM=true
14+
export EXTRA_SCRIPTS=(
15+
# "testExtra.sh"
16+
# "testExtra2.sh"
17+
)
18+
export PARALLEL=true

install_arduino.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ set -xe
33
MIRTE_SRC_DIR=/usr/local/src/mirte
44

55
# Install dependencies
6-
$UPDATE || sudo apt install -y git curl binutils libusb-1.0-0
6+
sudo apt install -y git curl binutils libusb-1.0-0
77
ls -alh $MIRTE_SRC_DIR
88
pip3 install -U platformio
9-
$UPDATE || echo "export PATH=$PATH:/home/mirte/.local/bin" >/home/mirte/.bashrc
9+
echo "export PATH=$PATH:/home/mirte/.local/bin" >/home/mirte/.bashrc
1010
export PATH=$PATH:/home/mirte/.local/bin
11-
$UPDATE || curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
11+
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
1212

13-
$UPDATE || mkdir -p /home/mirte/Arduino/Telemetrix4Arduino
13+
mkdir -p /home/mirte/Arduino/Telemetrix4Arduino
1414
ls $MIRTE_SRC_DIR/mirte-telemetrix4arduino -al
15-
$UPDATE || ln -s $MIRTE_SRC_DIR/mirte-telemetrix4arduino /home/mirte/Arduino/Telemetrix4Arduino || true
15+
ln -s $MIRTE_SRC_DIR/mirte-telemetrix4arduino /home/mirte/Arduino/Telemetrix4Arduino || true
1616
cd $MIRTE_SRC_DIR/mirte-telemetrix4arduino || exit
1717
pio run -e robotdyn_blackpill_f303cc -e nanoatmega328new -e nanoatmega328
1818

install_docs.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

33
cd $MIRTE_SRC_DIR/mirte-documentation || exit
4-
$UPDATE || sudo apt install -y python3.8-venv libenchant-dev
5-
$UPDATE || python3 -m venv docs-env
4+
sudo apt install -y python3.8-venv libenchant-dev
5+
python3 -m venv docs-env
66
source docs-env/bin/activate
77
pip install -r requirements.txt
8-
$UPDATE || mkdir -p _modules/catkin_ws/src
8+
mkdir -p _modules/catkin_ws/src
99
cd _modules || exit
1010
ls
11-
$UPDATE || ln -s $MIRTE_SRC_DIR/mirte-python .
11+
ln -s $MIRTE_SRC_DIR/mirte-python .
1212
ls
1313
cd mirte-python || exit
1414
pip install .

install_jupyter_ros.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -xe
33
MIRTE_SRC_DIR=/usr/local/src/mirte
44

55
# install basic python tools
6-
$UPDATE || sudo apt install -y python3 python3-venv python3-dev git libffi-dev
6+
sudo apt install -y python3 python3-venv python3-dev git libffi-dev
77

88
# create and activate virtualenv
99
# Due to a build error on numpy we need to install numpy and

install_mirte.sh

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
set -xe
33

44
MIRTE_SRC_DIR=/usr/local/src/mirte
5-
export UPDATE=false
65
. $MIRTE_SRC_DIR/settings.sh || (
76
export INSTALL_DOCS=true
87
export INSTALL_ROS=true

install_web.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MIRTE_SRC_DIR=/usr/local/src/mirte
66
sudo apt update
77

88
# Install nodeenv
9-
$UPDATE || sudo apt install -y python3-pip python3-setuptools python3-wheel
9+
sudo apt install -y python3-pip python3-setuptools python3-wheel
1010
sudo -H pip install nodeenv
1111

1212
# Install nodeenv

0 commit comments

Comments
 (0)