Skip to content

Instantly share code, notes, and snippets.

@mhaberler
Last active January 5, 2016 09:05
Show Gist options
  • Save mhaberler/a1925640068b3bfeda2b to your computer and use it in GitHub Desktop.
Save mhaberler/a1925640068b3bfeda2b to your computer and use it in GitHub Desktop.
installing ROS-comm on the Machinekit wheezy SD-image
#!/bin/bash
#
# adapted from http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi
#
# 1. Preparing the wheezy image
# I used a pristinne Machinekit Debian Image 2015-12-27 from
# wget https://rcn-ee.com/rootfs/bb.org/testing/2015-12-27/machinekit/bone-debian-7.9-machinekit-armhf-2015-12-27-4gb.img.xz
#
# the best course of action is to first upgrade the image to jessie
# this will make it unnecessary to build any missing packages from source
# to do so:
# delete the machinekit packages (we'll reinstall them later)
# plus the zmq-related packages (this gets around the libzmq4 issue)
# apt-get remove machinekit-xenomai machinekit libczmq2 libzmq3 python-zmq
#
# edit /etc/apt/sources.list and all files in /etc/apt/sources.list.d
# change wheezy to jessie and save
#
# upgrade step: (500+ packages will be upgraded, will take a while)
# NB: console attention required! some questions will be asked
# apt-get update
# apt-get dist-upgrade
#
# if the upgrade hangs (eg during udev upgrade), with a process "systemd-tty-ask-password-agent" running,
# see this bug:
# https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1456789
# to fix, try from another window: "systemctl daemon-reexec", which should continue the upgrade
#
#
# now reinstall machinekit:
# apt-get install machinekit-xenomai machinekit
#
# this should result in a working machinekit platform - try running sim/axis_mm to verify.
# unfinished - instructions follow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment