summaryrefslogtreecommitdiffstats
path: root/package/squashfs
Commit message (Collapse)AuthorAgeFilesLines
* package/squashfs: fix build on hosts with glibc >= 2.28Richard Kunze2018-09-021-0/+47
| | | | | | | | | | | Since glibc 2.28, sys/sysmacros.h is no longer included from sys/types.h This patch fixes the resulting build error by explicitly including sys/sysmacros.h See also https://github.com/plougher/squashfs-tools/pull/52 Signed-off-by: Richard Kunze <richard.kunze@web.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* squashfs: add zstd supportPeter Seiderer2018-04-252-1/+14
| | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* squashfs: add host zstd supportPeter Seiderer2018-04-251-2/+2
| | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* squashfs: add license hashPeter Seiderer2018-04-251-0/+3
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* squashfs: bump version to e38956b92f738518c29734399629e7cdb33072d3Peter Seiderer2018-04-123-75/+5
| | | | | | | | | | | - delete patch 0001-musl.patch (superseeded by upstream commit [1]) - disable new zstd support for host/target [1] https://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git/commit/?id=a81678d6a698b8a016f9abac9f3d981281cc52eb Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* squashfs: fix build with gcc 7Baruch Siach2017-07-311-1/+1
| | | | | | | | | | | | | | | gcc 7 with -Os (optimize for size) takes the liberty to remove the code of inline function entirely. This leads to undefined function references at link time. Restore gcc original inline behaviour to fix this issue. Fixes: http://autobuild.buildroot.net/results/3c5/3c5b1d799dce3ba361d618330c242bf4eba76019/ http://autobuild.buildroot.net/results/09f/09f350b62e2486404b78222dce211400bb233000/ http://autobuild.buildroot.net/results/693/693960ed7c01622c756dcc929e83b3b713c16ccc/ Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package makefiles: clean up backslash spacing.Adam Duskett2017-04-221-8/+8
| | | | | | | | | | The check-package script when ran gave warnings on only using one space before backslashes on all of these makefiles. This patch cleans up all warnings related to the one space before backslashes rule in the make files in the package directory. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: correct hashArnout Vandecappelle2017-03-211-1/+1
| | | | | | | | | | When squashfs was bumped to 3de1687d in commit ee90313c64, the hash file was not updated. This wasn't noticed before since hashes are not checked for git downloads. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: bump to fix RHEL 5 compilation errorThomas De Schampheleire2017-02-041-1/+1
| | | | | | | | Bump squashfs with one commit to fix a compilation error on the ancient RHEL 5 distribution. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* squashfs: update site to git.kernel.orgAtul Singh2016-07-302-5/+5
| | | | | | | | | | | | | | squashfs-tools development has been moved to git.kernel.org from Sourceforge. The hash was selected to fix a threading issue observed when creating images on a build machine with at least 64 cores. (Fixes random corrupted images that would fail to boot) Signed-off-by: Atul Singh <atul.singh.mandla@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> [Thomas: use https:// instead of git://.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/squashfs: fix musl buildBernd Kuhls2016-02-011-0/+71
| | | | | | | | | | | | | | | | The build errors were not yet found by the autobuilders: action.c: In function ‘name_fn’: action.c:1911:29: error: ‘FNM_EXTMATCH’ undeclared (first use in this function) FNM_PATHNAME|FNM_PERIOD|FNM_EXTMATCH) == 0;) ^ pseudo.c: In function ‘read_pseudo_def’: pseudo.c:435:11: error: ‘S_IFBLK’ undeclared (first use in this function) mode |= S_IFBLK; ^ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* squashfs: always enable xattr supportGustavo Zacarias2015-11-291-9/+2
| | | | | | | | | | | | | | In 785fef10 xattr support was disabled, probably because the old version did require the xattr package to be present to support it. In a409d76e xattr support was made optional via (lib)attr, however the squashfs package does in fact include all of the required bits to support xattr without the need for the attr package. So enable xattr support by default for both the host and target variants. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: Add xattr supportClayton Shotwell2015-07-111-2/+6
| | | | | | | | Adding extended attribute support for the squashfs tools when the attr package is selected. This is needed for SELinux support. Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add hashes for SourceForge-hosted packagesYann E. MORIN2014-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since SourceForge sometimes serves us faulty tarballs, we can tons of autobuild failures: http://autobuild.buildroot.org/results/9fb/9fba5bf086a4e7a29e5f7156ec43847db7aacfc4/ http://autobuild.buildroot.org/results/6c8/6c837b244c45ac3b3a887734a371cd6d226cf216/ ... Fix that by adding hash files for all SourceForge-hosted packages (thos etht did not already have it). We normally prefer to use hashes published by upstream, but hunting them all one by one is a tedious task, so those hashes were all locally computed with a script that searched for SF-hosted packages, downloades the associated tarball, computed the hash, and stored it in the corresponding .hash file. Also, SF publishes sha1 hashes, while I used the stronger sha256, since sha1 is now considered to be relatively weak. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Richard Braun <rbraun@sceen.net> Cc: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-10-231-16/+16
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: add comment mmu dependsGustavo Zacarias2014-08-041-0/+1
| | | | | | | | Otherwise it shows up indirectly when toolchain options aren't enough and then vanishes when they are fulfilled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: add license informationGustavo Zacarias2014-06-261-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* squashfs: bump to version 4.3Gustavo Zacarias2014-05-183-29/+16
| | | | | | | Also add optional lz4 support. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* squashfs: do not build on !MMU systemsThomas Petazzoni2014-04-181-0/+1
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/273/2738934fc23219a33fe1e07b3213b4e10266fc79// Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/squashfs: add selection for the host variantYann E. MORIN2014-02-081-0/+6
| | | | | | | | | | If any of the post-image scripts wants to handle squashfs filesystems, we need to expose an option for squashfs-tools to be user-selectable. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Ryan Barnett <rjbarnet@rockwellcollins.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Fix typo in urlArnaud Aujon2013-11-171-1/+1
| | | | | | | Fix a typo in squashfs site url Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: whitespace cleanupThomas De Schampheleire2013-11-111-17/+17
| | | | | | | | | | This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* fix white spacesJerzy Grzegorek2013-07-201-3/+3
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add header to packages where missingAlexandre Belloni2013-06-211-0/+6
| | | | | | Reported-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* remove rest of the BR2_SOURCEFORGE_MIRROR referencesStefan Fröberg2012-08-281-1/+1
| | | | | Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: needs pthreads support in toolchainPeter Korsgaard2012-06-111-2/+3
| | | | | | Fixes http://autobuild.buildroot.net/results/9afdb3f7141fa361ac2ff3fe24887b0c6eb9342d Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: re-add legacy lzma supportGustavo Zacarias2011-03-052-2/+16
| | | | | | | | | Readd legacy LZMA support since older patched kernels might be using it. Introduce an XZ target filesystem option for the new format. [Peter: add a seperate xz target for squashfs-target as well] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: bump versionPeter Korsgaard2011-03-033-104/+28
| | | | | | | The EXTRA_CFLAGS patch is now upstream, but we need a fix for !gzip builds instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: use kconfig to ensure atleast one compressor is selectedPeter Korsgaard2011-02-252-5/+1
| | | | | | | | Similar to how we do it for mpd now. This way, the selection is clearly visible to the user, instead of the hidden selection we used to do in the makefile. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: fix zlib dependencyPeter Korsgaard2011-02-191-1/+1
| | | | | | The 'gzip' compression supports just needs zlib, and not the gzip package. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: add lzma supportPeter Korsgaard2010-09-202-9/+26
| | | | | | And try to select a sane default compression algorithm. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: bump 4.x, add lzo supportPeter Korsgaard2010-09-206-147/+160
| | | | | | We'll need libattr/xz packages in BR to enable support for those. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: fix build with uClibcPeter Korsgaard2010-06-171-0/+37
| | | | | | | squashfs used the get_nprocs() GNU extension, instead of directly calling sysconf(), breaking the build on uClibc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs,squashfs3: needs LARGEFILE support in toolchainPeter Korsgaard2010-05-261-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: fix build when zlib isn't available on the hostThomas Petazzoni2010-05-071-1/+1
| | | | | | | Pass CFLAGS and LDFLAGS so that when building squashfs, it finds the zlib installed in $(HOST_DIR). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: new packageThomas Petazzoni2010-04-094-0/+137
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud