I have applied this patch and tested it, all compression methods work,

# dpkg -l squashfs*
ii  squashfs-tools 1:4.3-10.1   amd64        Tool to create and append
to squashfs filesystems

Doing a remaster in an overlayfs chroot:

mksquashfs /tmp/live-net-remaster-BjspaP/chroot/
00filesystem.squashfs.new2  -noappend -no-recovery -no-xattrs
-no-exports -comp lzo

mksquashfs /tmp/live-net-remaster-BjspaP/chroot/
00filesystem.squashfs.new3  -noappend -no-recovery -no-xattrs
-no-exports

mksquashfs /tmp/live-net-remaster-BjspaP/chroot/
00filesystem.squashfs.new4  -noappend -no-recovery -no-xattrs
-no-exports -comp xz

mkdir /tmp/sq2
mkdir /tmp/sq3
mkdir /tmp/sq4

mount -o loop,ro 00filesystem.squashfs.new2 /tmp/sq2/
mount -o loop,ro 00filesystem.squashfs.new3 /tmp/sq3
mount -o loop,ro 00filesystem.squashfs.new4 /tmp/sq4

diff --no-dereference --brief -Nr /tmp/sq2/ /tmp/sq4/
diff --no-dereference --brief -Nr /tmp/sq2/ /tmp/sq3/

umount /tmp/sq*

rm 00filesystem.squashfs.new*

Everything is OK,

Thanks,

Jordi Pujol

On Sat, Jan 19, 2019 at 9:26 AM László Böszörményi (GCS) <g...@debian.org> 
wrote:
>
> On Fri, Jan 18, 2019 at 6:27 PM Jordi Pujol <jordipuj...@gmail.com> wrote:
> > Sure,
> > send me the proposed code when it is ready or upload to experimental and
> > let me know,
>  The proposed package is available[1]. I'm going to upload it in some
> hours as it works now with your test case. Expect if you may find any
> issue with the current package.
>
> Thanks in advance,
> Laszlo/GCS
> [1] dget -x http://www.barcikacomp.hu/gcs/squashfs-tools_4.3-11.dsc

Reply via email to