sudo pico /etc/apt/sources.list.d/source.list
Paste in deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
-
sudo apt-get update
-
apt-get source connman
-
cd connman-1.21
-
curl https://raw.githubusercontent.com/resin-os/meta-resin/master/meta-resin-common/recipes-connectivity/connman/connman/unprotected_wifi_tether.patch -O
-
git apply unprotected_wifi_tether.patch
-
dpkg-source --commit
-
There are some interactive prompts asking about creating the patch in the debian package. Just accept the default file.
-
sudo dpkg-buildpackage -rfakeroot -us -uc
-
It'll complain about missing dependencies, copy the list and
apt-get install
them. -
dpkg-buildpackage -rfakeroot -us -uc
again -
When it compiles successfully:
cd ..
sudo dpkg -i connman_1.21-1.2_armhf.deb