SquashFS Tools: Difference between revisions

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..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
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.


Line 4: Line 5:


== Sources ==
== Sources ==
* <sourcecode>http://kent.dl.sourceforge.net/sourceforge/squashfs/squashfs4.2.tar.gz</sourcecode>
* <sourcecode>http://kent.dl.sourceforge.net/sourceforge/squashfs/squashfs4.3.tar.gz</sourcecode>


<md5>1b7a781fb4cf8938842279bd3e8ee852 squashfs4.2.tar.gz</md5>
<md5>d92ab59aabf5173f2a59089531e30dbf squashfs4.3.tar.gz</md5>


== Dependencies ==
== Dependencies ==
Line 15: Line 16:
     SquashFS 4.0 - Squashed file system support --->
     SquashFS 4.0 - Squashed file system support --->
       Include support for ZLIB compressed file systems
       Include support for ZLIB compressed file systems
      Include support for LZ4 compressed file systems
       Include support for LZO compressed file systems
       Include support for LZO compressed file systems
       Include support for XZ compressed file systems</pre>
       Include support for XZ compressed file systems</pre>

Latest revision as of 16:14, 27 February 2017

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:

d92ab59aabf5173f2a59089531e30dbf  squashfs4.3.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 LZ4 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