[LEDE-DEV] tools/squashfs update to 5.0 before next release

Paul Spooren spooren at informatik.uni-leipzig.de
Mon Apr 30 02:48:08 PDT 2018



On Tue, Apr 17, 2018 at 6:10 PM, Paul Spooren 
<spooren at informatik.uni-leipzig.de> wrote:
> Hi,
> 
> if I understand lynxis staging tree [1] correctly, future squashfs 
> images will be reproducible.
> 
> Will this be merged to master before the next 18.x release?
> 
> Best,
> Paul
> 
> [1] 
> https://git.openwrt.org/?p=openwrt/staging/lynxis.git;a=commit;h=1fd818d4f8255cbaa0173d856f09f24bd88a6209
> 
I tried the patch apart from a typo (?) in the file 
`./tools/squashfs4/Makefile` it seems to work and creates actually 
reproducible squashfs images!

The typo is line 18 [1] where the 4 of squashfs is missing.
In the current state the staging tree produces the following error 
message:

CFLAGS="-O2 -I/home/a/src/openwrt/staging_dir/host/include " 
CPPFLAGS="-I/home/a/src/openwrt/staging_dir/host/include " CXXFLAGS="" 
LDFLAGS="-L/home/a/src/openwrt/staging_dir/host/lib " make -C 
/home/a/src/openwrt/build_dir/host/squashfs5.0/squashfs-tools 
XZ_SUPPORT=1 LZMA_XZ_SUPPORT=1 XATTR_SUPPORT= 
LZMA_LIB="/home/a/src/openwrt/staging_dir/host/lib/liblzma.a" 
EXTRA_CFLAGS="-I/home/a/src/openwrt/staging_dir/host/include" 
mksquashfs unsquashfs
make[4]: *** 
/home/a/src/openwrt/build_dir/host/squashfs5.0/squashfs-tools: No such 
file or directory.  Stop.
make[3]: *** [Makefile:44: 
/home/a/src/openwrt/build_dir/host/squashfs5.0/.built] Error 2
make[3]: Leaving directory '/home/a/src/openwrt/tools/squashfs4'
make[2]: *** [tools/Makefile:154: tools/squashfs4/compile] Error 2
make[2]: Leaving directory '/home/a/src/openwrt'
make[1]: *** [tools/Makefile:150: 
/home/a/src/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyy] 
Error 2
make[1]: Leaving directory '/home/a/src/openwrt'
make: *** [/home/a/src/openwrt/include/toplevel.mk:218: world] Error 
2```

Best regards,
	Paul Spooren

[1] 
https://git.openwrt.org/?p=openwrt/staging/lynxis.git;a=blob;f=tools/squashfs4/Makefile;h=fd4388d03137454914007e8f1fb7a120c127674c;hb=1fd818d4f8255cbaa0173d856f09f24bd88a6209#l18

> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
> 




More information about the Lede-dev mailing list