G. Pape
runit

runit - use dietlibc


Check that you have the recent version of dietlibc installed.

Change to the source directory of runit:

  # cd /package/admin/runit/src
Download daemontools-pd-0.76.tar.gz into /package/admin/runit/src and unpack the archive (this contains code from the daemontools-0.76 package which are in the Public domain):
  # gunzip daemontools-pd-0.76.tar
  # tar -xpf daemontools-pd-0.76.tar
  # rm daemontools-pd-0.76.tar
Tell runit to use this archive instead of the daemontools sources:
  # rm -f support
  # ln -s daemontools-pd-0.76 support
Change the cc and ld settings for support to use diet:
  # echo 'diet gcc -O2 -Wall' > support/conf-cc
  # echo 'diet gcc -s -Os -pipe' > support/conf-ld
Finally rebuild and install the runit programs:
  # make clean
  # cd ..
  # package/install

Gerrit Pape <pape@smarden.org>
$Id$