These instructions are not kept up to date, they are here only as general guidelines.

Setup

  1. apt-get install dpkg-dev
  2. svn checkout http://www.nodows.com/svn/nodows/trunk ./nodows
  3. pear channel-discover pear.phing.info
  4. pear install channel://pear.phing.info/phing
  5. cd nodows
  6. phing ; php.ini needs 512M

Building Mindeb

These instructions will produce a 64MB Etch installation, and they might not work for you. This is all VERY ALPHA!

  1. phing -f distros/mindeb/mindeb.xml chroot-setup ( default is 256, 64 is the smallest I've been able to go with squashfs )
  2. phing -f distros/mindeb/mindeb.xml grub-setup
  3. kvm -vnc :0 -boot a -fda work/grub-boot.img -hda /dev/loop0
  4. ...root (hd0,0)...find /boot/grub/stage2...setup (hd0)...halt...
  5. phing -f distros/mindeb/mindeb.xml create-custom-kernel
  6. cd work/kernels/linux-2.6.18/
  7. make menuconfig ( I use an extremely minimal set, no loadable modules, debian includes almost everything )
  8. make -j4
  9. cd ../../..
  10. phing -f distros/mindeb/mindeb.xml copy-kernel
  11. phing -f distros/mindeb/mindeb.xml finalize
  12. kvm -vnc :0 -hda /root/nodows/work/images/test6.img

Building Mindeb Squash

This only works for me on i386, not x86_64. Edit build.properties to change arch to i386, squashfs to 1.

  1. phing -f distros/mindeb/mindeb.xml chroot-setup ( I use 30 here, will fit on a 32 MB compact flash drive )
  2. phing -f distros/mindeb/mindeb.xml grub-setup
  3. kvm -vnc :0 -boot a -fda work/grub-boot.img -hda /dev/loop0
  4. ...root (hd0,0)...find /boot/grub/stage2...setup (hd0)...halt...
  5. phing -f distros/mindeb/mindeb.xml create-custom-kernel
  6. phing -f distros/mindeb/mindeb.xml squash-kernel-patches
  7. cd work/kernels/linux-2.6.18/
  8. make menuconfig ( I use an extremely minimal set, no loadable modules, debian includes almost everything, make sure squash and union are on )
  9. make -j4
  10. cd ../../..
  11. phing -f distros/mindeb/mindeb.xml copy-kernel
  12. phing -f distros/mindeb/mindeb.xml finalize
  13. kvm -vnc :0 -hda /root/nodows/work/images/test6.img

Building SkinnyBSD

I'm using FreeBSD 6.4, setup roughly along the directions provided by [http://www.askozia.com/m0n0dev/installing-freebsd/ askozia here], and the formerly available instructions from Ultradesic. Basically it involved installing FreeBSD 6.4, sysinstalling to /usr/jail or /usr/skinnybsd, chrooting to there, then using ports to install subversion, php5, php5-extensions, php-pear and phing as described above in setup, maybe more.

 
 SkinnyBSD ~/nodows # phing -f distros/skinnybsd/skinnybsd.xml work

External Links