Building kernels from SVN (for official images): 1) Start by downloading a kernel tarball from kernel.org (ie, linux-2.6.12.tar.bz2). 2) Run trunk/scripts/prune-non-free . This will produce two additional tarballs; linux-kernel-.orig.tar.gz and linux-kernel-nonfree-.orig.tar.gz. Ignore the nonfree tarball for now. 3) Unpack linux-kernel-.orig.tar.gz, cd into the new directory, and do a 'svn export' to get the debian/ subdirectory.