Commit Graph

8 Commits

Author SHA1 Message Date
Alexandru Ardelean 401b376b75 squashfs-tools: pull newer version from git repo
squashfs-tools does not provide tar-balls.
It looks like a good time to pull a newer version
that obsoletes a few accepted patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-27 09:55:23 +03:00
Colby Whitney 5917d336fa squashfs-tools: fix segfault
Unsquashfs was segfaulting.  When examining in gdb the stack was corrupt.
I found that converting the variable length arrays to malloc caused the
stack corruption to not happen and the segfault went away.  This is due to
the musl pthread stack size being 80k by default.  So the chance of a stack
overflow is high.

Signed-off-by: Colby Whitney <colby.whitney@luxul.com>
2017-09-11 08:55:55 -06:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Florian Fainelli 5374d8635d squashfs-tools: Pass down TARGET_CFLAGS, CPPFLAGS and LDFLAGs
This fixes build errors with external toolchains that don't
automatically search for headers in STAGING_DIR:

mipsel-linux-gnu-gcc   -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT   -c -o
gzip_wrapper.o gzip_wrapper.c
gzip_wrapper.c:27:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
                  ^
compilation terminated.
make[3]: *** [gzip_wrapper.o] Error 1

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-05 17:18:51 -07:00
Alberto Bursi 478d35459c squashfs-tools: move to Filesystems submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-23 23:53:43 +02:00
Alexandru Ardelean dcd86b9f47 squashfs-tools: change default compression options to n
Otherwise it will pull all compression libraries to install
(on newly configured targets) when maybe 1 or 2 are needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-06-09 18:44:22 +03:00
Alexandru Ardelean 918485e18f squashfs-tools: get inline functions work with both gnu11 and gnu89
Seems that this issue with squashfs-tools was fixed by the guys
at openembedded.
See patch here:
https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-mksquashfs.c-get-inline-functions-work-with-C99.patch

I think in my case, this issue appeared because I wrote the Makefile
some time ago and it worked, then when I did the PR for it,
it wasn't working anymore, and I assumed it was still working.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-04-05 09:26:35 +03:00
Alexandru Ardelean d96328eae1 squashfs-tools: bring back package
Picked up the old Makefile at 4.2.
Upgraded at 4.3 (repo move to github now: https://github.com/plougher/squashfs-tools/)
Added musl compatibility.
Enabled LZ4 compression support by default

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-01-07 17:52:31 +02:00