Skip to content

distcc image todo #158

@bakercp

Description

@bakercp
  • have VM select the default interface (rather than hard code the wifi interface ... this a virtual box problem, not a linux config problem)
  • default username / password as RPI
  • Unmount VBoxGuestAdditions.iso (? I think it can be after it has been installed).
  • Fix keyboard layout (sudo apt-get install console-data and select us english for now)
  • Install avahi (sudo apt-get install avahi-daemon avahi-utils libavahi-compat-libdnssd-dev)
  • Add an easy way to switch the build toolchain to support armv7 architecture (pcduino, etc)
  • /etc/default/distcc -> set ZEROCONF="true"
  • Lots of alerts and warnings when starting up the VB image. (regarding mouse and keyboard control). Would be nice if these didn't pop up.
  • /etc/default/distcc -> set ALLOWEDNETS="127.0.0.1 192.168.0.0./8 10.0.0.0/8" for those of us working on the local host (non-bridged) and also on10...*` networks. We share our code ... and we share our compilers :)
  • move the PATH variable inside the /etc/init.d/distcc script to /etc/default/distcc (to keep it all in one place) (also make a note of this location with the other notes that mention allowed nets, etc). This path variable is all you need to change to get it compiling with armv7 (i.e. you change the path and restart the distcc daemon).
  • add simple script in the ubuntu home directory for changing the PATH variable, plus a README giving basic configuration instructions (mirrored from our wiki) for how to configure basic stuff.
  • init.d script for pi that allows it to optionally automatically locate an online distcc server via zeroconf and set the MAKEVARS appropriately. i.e. this
#!/bin/bash

avahi-browse _distcc._tcp -r -t -p -l | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}' | tr '\n' ' ' > $HOME/.distcc/hosts

And this

export MAKEFLAGS="-s -j 16 CXX=/usr/lib/distcc/g++ CC=/usr/lib/distcc/gcc"
  • clear bash history

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions