Difference between revisions of "SquashFS Tools"

From LFScript
(Created page with "SquashFS Tools provides the <code>mksquashfs</code> utility, which allows one to create a compressed read-only file system. <scriptname>squashfs-tools</scriptname> == So...")
 
Line 1: Line 1:
 +
[[Category:Scripts]]
 
[[SquashFS Tools]] provides the <code>mksquashfs</code> utility, which allows one to create a compressed read-only file system.
 
[[SquashFS Tools]] provides the <code>mksquashfs</code> utility, which allows one to create a compressed read-only file system.
  

Revision as of 14:52, 14 June 2014

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