SquashFS Tools

From LFScript
Revision as of 15:52, 14 June 2014 by Marcel (talk | contribs)

SquashFS Tools provides the mksquashfs utility, which allows one to create a compressed read-only file system.

LFScript can find this software under the name squashfs-tools.

Sources


MD5 Checksums:

1b7a781fb4cf8938842279bd3e8ee852  squashfs4.2.tar.gz

Dependencies

This package has no dependencies outside of LFS. However, if you want to be able to mount squashfs file systems, you will need to add support for it to your kernel:

File systems --->
  Miscellaneous filesystems --->
    SquashFS 4.0 - Squashed file system support --->
      Include support for ZLIB compressed file systems
      Include support for LZO compressed file systems
      Include support for XZ compressed file systems

Installation

pushd squashfs-tools
sed "s/#XZ_SUPPORT/XZ_SUPPORT/" -i Makefile
make

As the root user:

make INSTALL_DIR=/usr/bin install
popd

Packaging note

The source code of this package does not support the standard use of DESTDIR. In stead it uses

INSTALL_DIR