# use patches from squashfs-lzma.org
# 
#part of kernel patching:
# apply lzma-2.6.20 patch to kernel, then lzma-2.6.20_and_squashfs to squashfs-3.2-patch
# apply original squashfs-3.2-r2 kernel patch to kernel source
# then apply kernel patch: sqlzma2k-3.2.-r2 to kernel source
#
# apply patch sqlzma2u-3.2-r2 to unpacked squashfs-3.2-r2 source
# to add lzma to programs mksquashfs and unsquashfs 
#
# to build squashfs.ko and helper modules sqlzma.ko and unlzma.ko:
# - make sure to have these 3 directories in your source directory (/usr/src)
#   - linux (symlink to linux-2.6.20)
#   - lzm443 (with the contents of lzma443.tar.bz2 of 7zip.org and
#     patched with patch sqlzma1-443 from squashfs-lzma.org)
#   - squashfs3.2-r2 (patched with patch sqlzma2u-3.2-r2 from squashfs-lzma.org)
# change squashfs3.2-r2/Makefile (created by sqlzma2u-3.2-r2 patch):
#   - apply patch Makefile.diff   
#   - run make in /usr/src/squashfs3.2-r2/
#   - this creates /usr/src/linux/fs/squashfs/squashfs.ko,
#     /usr/src/lzma443/C/7zip/Compress/LZMA_C/kmod/sqlzma.ko, unlzma.ko
#   - copy these 3 modules to /lib/2.6.20/extras/
