These instructions are not kept up to date, they are here only as general guidelines.
Setup
- apt-get install dpkg-dev
- svn checkout http://www.nodows.com/svn/nodows/trunk ./nodows
- pear channel-discover pear.phing.info
- pear install channel://pear.phing.info/phing
- cd nodows
- 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!
- phing -f distros/mindeb/mindeb.xml chroot-setup ( default is 256, 64 is the smallest I've been able to go with squashfs )
- phing -f distros/mindeb/mindeb.xml grub-setup
- kvm -vnc :0 -boot a -fda work/grub-boot.img -hda /dev/loop0
- ...root (hd0,0)...find /boot/grub/stage2...setup (hd0)...halt...
- phing -f distros/mindeb/mindeb.xml create-custom-kernel
- cd work/kernels/linux-2.6.18/
- make menuconfig ( I use an extremely minimal set, no loadable modules, debian includes almost everything )
- make -j4
- cd ../../..
- phing -f distros/mindeb/mindeb.xml copy-kernel
- phing -f distros/mindeb/mindeb.xml finalize
- 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.
- phing -f distros/mindeb/mindeb.xml chroot-setup ( I use 30 here, will fit on a 32 MB compact flash drive )
- phing -f distros/mindeb/mindeb.xml grub-setup
- kvm -vnc :0 -boot a -fda work/grub-boot.img -hda /dev/loop0
- ...root (hd0,0)...find /boot/grub/stage2...setup (hd0)...halt...
- phing -f distros/mindeb/mindeb.xml create-custom-kernel
- phing -f distros/mindeb/mindeb.xml squash-kernel-patches
- cd work/kernels/linux-2.6.18/
- make menuconfig ( I use an extremely minimal set, no loadable modules, debian includes almost everything, make sure squash and union are on )
- make -j4
- cd ../../..
- phing -f distros/mindeb/mindeb.xml copy-kernel
- phing -f distros/mindeb/mindeb.xml finalize
- 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