* [Buildroot] [PATCH] package/squashfs: bump to version 4.7
@ 2025-06-23 21:55 Thomas Petazzoni via buildroot
2025-06-24 12:10 ` Fiona Klute via buildroot
2025-06-30 14:25 ` Peter Korsgaard
0 siblings, 2 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-06-23 21:55 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni
See https://github.com/plougher/squashfs-tools/releases/tag/4.7 for
details:
1. Mksquashfs now reads files in parallel from the input directories
2. Rewritten and improved help system (Mksquashfs/Unsquashfs)
3. New options for building reproducible filesystems (Mksquash/Sqfstar)
4. Elimination of "fragment block stall" and -(not-)reproducible options
5. Other improvements for Mksquashfs/Sqfstar
6. Other improvements for Unsquashfs/Sqfscat
7. New environment variable SQFS_CMDLINE (Mksquashfs/Unsquashfs)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/squashfs/squashfs.hash | 4 ++--
package/squashfs/squashfs.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/squashfs/squashfs.hash b/package/squashfs/squashfs.hash
index c921d638bb..5593502836 100644
--- a/package/squashfs/squashfs.hash
+++ b/package/squashfs/squashfs.hash
@@ -1,5 +1,5 @@
-# Locally computed
-sha256 94201754b36121a9f022a190c75f718441df15402df32c2b520ca331a107511c squashfs-tools-4.6.1.tar.gz
+# From https://github.com/plougher/squashfs-tools/releases/tag/4.7
+sha256 f1605ef720aa0b23939a49ef4491f6e734333ccc4bda4324d330da647e105328 squashfs-tools-4.7.tar.gz
# License files
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk
index f2cb0ab25e..f3c72e068b 100644
--- a/package/squashfs/squashfs.mk
+++ b/package/squashfs/squashfs.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SQUASHFS_VERSION = 4.6.1
+SQUASHFS_VERSION = 4.7
SQUASHFS_SOURCE = squashfs-tools-$(SQUASHFS_VERSION).tar.gz
SQUASHFS_SITE = https://github.com/plougher/squashfs-tools/releases/download/$(SQUASHFS_VERSION)
SQUASHFS_LICENSE = GPL-2.0+
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/squashfs: bump to version 4.7
2025-06-23 21:55 [Buildroot] [PATCH] package/squashfs: bump to version 4.7 Thomas Petazzoni via buildroot
@ 2025-06-24 12:10 ` Fiona Klute via buildroot
2025-06-24 13:49 ` Thomas Petazzoni via buildroot
2025-06-30 14:25 ` Peter Korsgaard
1 sibling, 1 reply; 6+ messages in thread
From: Fiona Klute via buildroot @ 2025-06-24 12:10 UTC (permalink / raw)
To: Thomas Petazzoni, buildroot
Hi Thomas,
thanks for looking at this update!
Am 23.06.25 um 23:55 schrieb Thomas Petazzoni via buildroot:
> See https://github.com/plougher/squashfs-tools/releases/tag/4.7 for
> details:
>
> 1. Mksquashfs now reads files in parallel from the input directories
> 2. Rewritten and improved help system (Mksquashfs/Unsquashfs)
> 3. New options for building reproducible filesystems (Mksquash/Sqfstar)
> 4. Elimination of "fragment block stall" and -(not-)reproducible options
> 5. Other improvements for Mksquashfs/Sqfstar
> 6. Other improvements for Unsquashfs/Sqfscat
> 7. New environment variable SQFS_CMDLINE (Mksquashfs/Unsquashfs)
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Building fails with musl due to missing includes, upstream already has
patches for that (both need to be applied):
https://github.com/plougher/squashfs-tools/commit/b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361
https://github.com/plougher/squashfs-tools/commit/05a895b3f996d1ac157d95b04980f5f047e7dbf7
I also noticed a bug that blocks excluding files >1407 KiB when building
a squashfs image, which broke building a certain (intentionally broken)
test image for me: https://github.com/plougher/squashfs-tools/issues/316
It's easy enough to work around by filtering the tar archive though, so
I'm not sure if it needs to hold up the update.
Best regards,
Fiona
> ---
> package/squashfs/squashfs.hash | 4 ++--
> package/squashfs/squashfs.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/squashfs/squashfs.hash b/package/squashfs/squashfs.hash
> index c921d638bb..5593502836 100644
> --- a/package/squashfs/squashfs.hash
> +++ b/package/squashfs/squashfs.hash
> @@ -1,5 +1,5 @@
> -# Locally computed
> -sha256 94201754b36121a9f022a190c75f718441df15402df32c2b520ca331a107511c squashfs-tools-4.6.1.tar.gz
> +# From https://github.com/plougher/squashfs-tools/releases/tag/4.7
> +sha256 f1605ef720aa0b23939a49ef4491f6e734333ccc4bda4324d330da647e105328 squashfs-tools-4.7.tar.gz
>
> # License files
> sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
> diff --git a/package/squashfs/squashfs.mk b/package/squashfs/squashfs.mk
> index f2cb0ab25e..f3c72e068b 100644
> --- a/package/squashfs/squashfs.mk
> +++ b/package/squashfs/squashfs.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -SQUASHFS_VERSION = 4.6.1
> +SQUASHFS_VERSION = 4.7
> SQUASHFS_SOURCE = squashfs-tools-$(SQUASHFS_VERSION).tar.gz
> SQUASHFS_SITE = https://github.com/plougher/squashfs-tools/releases/download/$(SQUASHFS_VERSION)
> SQUASHFS_LICENSE = GPL-2.0+
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/squashfs: bump to version 4.7
2025-06-24 12:10 ` Fiona Klute via buildroot
@ 2025-06-24 13:49 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-06-24 13:49 UTC (permalink / raw)
To: Fiona Klute; +Cc: buildroot
On Tue, 24 Jun 2025 14:10:18 +0200
Fiona Klute <fiona.klute@gmx.de> wrote:
> Am 23.06.25 um 23:55 schrieb Thomas Petazzoni via buildroot:
> > See https://github.com/plougher/squashfs-tools/releases/tag/4.7 for
> > details:
> >
> > 1. Mksquashfs now reads files in parallel from the input directories
> > 2. Rewritten and improved help system (Mksquashfs/Unsquashfs)
> > 3. New options for building reproducible filesystems (Mksquash/Sqfstar)
> > 4. Elimination of "fragment block stall" and -(not-)reproducible options
> > 5. Other improvements for Mksquashfs/Sqfstar
> > 6. Other improvements for Unsquashfs/Sqfscat
> > 7. New environment variable SQFS_CMDLINE (Mksquashfs/Unsquashfs)
> >
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
>
> Building fails with musl due to missing includes, upstream already has
> patches for that (both need to be applied):
>
> https://github.com/plougher/squashfs-tools/commit/b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361
> https://github.com/plougher/squashfs-tools/commit/05a895b3f996d1ac157d95b04980f5f047e7dbf7
Thanks for reporting this!
> I also noticed a bug that blocks excluding files >1407 KiB when building
> a squashfs image, which broke building a certain (intentionally broken)
> test image for me: https://github.com/plougher/squashfs-tools/issues/316
> It's easy enough to work around by filtering the tar archive though, so
> I'm not sure if it needs to hold up the update.
That seems pretty annoying. Let's wait for this to be fixed as well.
Hopefully, they'll make a 4.7.1 release with the fixes.
Thanks again for the very useful feedback!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/squashfs: bump to version 4.7
2025-06-23 21:55 [Buildroot] [PATCH] package/squashfs: bump to version 4.7 Thomas Petazzoni via buildroot
2025-06-24 12:10 ` Fiona Klute via buildroot
@ 2025-06-30 14:25 ` Peter Korsgaard
2025-07-01 15:34 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2025-06-30 14:25 UTC (permalink / raw)
To: Thomas Petazzoni via buildroot; +Cc: Thomas Petazzoni
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:
> See https://github.com/plougher/squashfs-tools/releases/tag/4.7 for
> details:
> 1. Mksquashfs now reads files in parallel from the input directories
> 2. Rewritten and improved help system (Mksquashfs/Unsquashfs)
> 3. New options for building reproducible filesystems (Mksquash/Sqfstar)
I didn't look at the code, but is this something we could/should be
using for BR2_REPRODUCIBLE builds?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/squashfs: bump to version 4.7
2025-06-30 14:25 ` Peter Korsgaard
@ 2025-07-01 15:34 ` Thomas Petazzoni via buildroot
2025-07-01 15:55 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-07-01 15:34 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: Thomas Petazzoni via buildroot
On Mon, 30 Jun 2025 16:25:03 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:
> > 1. Mksquashfs now reads files in parallel from the input directories
> > 2. Rewritten and improved help system (Mksquashfs/Unsquashfs)
> > 3. New options for building reproducible filesystems (Mksquash/Sqfstar)
>
> I didn't look at the code, but is this something we could/should be
> using for BR2_REPRODUCIBLE builds?
So I did have a (admittedly very) quick look, and with
BR2_REPRODUCIBLE=y and our current logic in Buildroot, we already had
files date/time that were clearly "in the past" compared to the build,
I believe somehow set to SOURCE_DATE_EPOCH. So it didn't feel like
using those new options was really needed. But as you can see from the
patch send time, it was 11:55 PM, I wanted to finish my Buildroot
evening, and since I couldn't find an obvious reason to use those new
options, I decided to send just the version bump as-is.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/squashfs: bump to version 4.7
2025-07-01 15:34 ` Thomas Petazzoni via buildroot
@ 2025-07-01 15:55 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2025-07-01 15:55 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Thomas Petazzoni via buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> On Mon, 30 Jun 2025 16:25:03 +0200
> Peter Korsgaard <peter@korsgaard.com> wrote:
>> > 1. Mksquashfs now reads files in parallel from the input directories
>> > 2. Rewritten and improved help system (Mksquashfs/Unsquashfs)
>> > 3. New options for building reproducible filesystems (Mksquash/Sqfstar)
>>
>> I didn't look at the code, but is this something we could/should be
>> using for BR2_REPRODUCIBLE builds?
> So I did have a (admittedly very) quick look, and with
> BR2_REPRODUCIBLE=y and our current logic in Buildroot, we already had
> files date/time that were clearly "in the past" compared to the build,
> I believe somehow set to SOURCE_DATE_EPOCH. So it didn't feel like
> using those new options was really needed. But as you can see from the
> patch send time, it was 11:55 PM, I wanted to finish my Buildroot
> evening, and since I couldn't find an obvious reason to use those new
> options, I decided to send just the version bump as-is.
Heh, ok ;) I believe a squashfs file system also has a "creation time"
timestamp, but maybe we are also handling that already?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-07-01 15:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 21:55 [Buildroot] [PATCH] package/squashfs: bump to version 4.7 Thomas Petazzoni via buildroot
2025-06-24 12:10 ` Fiona Klute via buildroot
2025-06-24 13:49 ` Thomas Petazzoni via buildroot
2025-06-30 14:25 ` Peter Korsgaard
2025-07-01 15:34 ` Thomas Petazzoni via buildroot
2025-07-01 15:55 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox