squashfs + lzma?

Asked by Johannes Schauer Marin Rodrigues

i wanted to ask a question about the packes squashfs-source and lzma-source.
squashfs-source depends on lzma-dev so i assume that it includes the patches from squashfs-lzma.org ?
and lzma-source is the kernel module required for squashfs with lzma support to work?
i installed both and saw the tar.bz2 archives in the /usr/src directory which i both unpacked. unfortunately there is no ./configure but only a Makefile - what do i do with the sourcecode? how do i happen to use squashfs with lzma with these packes? what are these packages for and how are they used?

Question information

English Edit question
Ubuntu squashfs Edit question
No assignee Edit question
Solved by:
Johannes Schauer Marin Rodrigues
Last query:
Last reply:
Revision history for this message
Johannes Schauer Marin Rodrigues (josch) said :

the solution is to run
m-a build squashfs and lzma and install the resulting deb packages - this will enable squashfs lzma support in your kernel

Revision history for this message
helix84 (helix84) said :

just to make this dead-simple to follow:

# install source of squashfs and lzma kernel modules
sudo apt-get install squashfs-source lzma-source
# build the modules - this produces two .deb files in /usr/src
sudo m-a build lzma
sudo m-a build squashfs
# install these .deb files
sudo dpkg -i /usr/src/lzma-modules-*
sudo dpkg -i /usr/src/squashfs-modules-*
# load the module
sudo modprobe squashfs
# check if the module is loaded with:
lsmod | grep squashfs

Revision history for this message
Thomas (t.c) said :

I try d this, but while building squashfs I get this: Build of the package squashfs-source failed!

/usr/src/modules/squashfs/inode.c:693: error: implicit declaration of function 'd_alloc_anon'

To fix it take a look at: