Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions rpi/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function install_cartographer_klipper() {

echo
echo "INFO: Running cartographer-klipper installer ..."
bash $BASEDIR/cartographer-klipper/install.sh || exit $?
taskset -c 0-$(($(nproc) - 3)) $BASEDIR/cartographer-klipper/install.sh || exit $?
$BASEDIR/klippy-env/bin/python3 -m compileall $BASEDIR/klipper/klippy || exit $?

echo "cartographer-klipper" >> $BASEDIR/pellcorp.done
Expand All @@ -285,7 +285,12 @@ function install_cartographer_plugin() {
fi

if [ ! -f $BASEDIR/klipper/klippy/extras/cartographer.py ]; then
curl -s -L https://raw.githubusercontent.com/Cartographer3D/cartographer3d-plugin/refs/heads/main/scripts/install.sh | bash || exit $?
curl -s -L https://raw.githubusercontent.com/Cartographer3D/cartographer3d-plugin/refs/heads/main/scripts/install.sh -o /tmp/install.sh || exit $?
chmod 777 /tmp/install.sh

# leave 2 cores to avoid overwhelming the device
taskset -c 0-$(($(nproc) - 3)) /tmp/install.sh
rm /tmp/install.sh
fi

echo "cartographer-plugin" >> $BASEDIR/pellcorp.done
Expand Down