Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
squashfsTools: fix 4k-align patch regression #64388
Motivation for this change
In #49200, an option to use 4k-aligned squashfs blocks was incorporated. Originally developed by Google, this makes it easy to build squashfs images which tools such as casync/desync/etc. can effectively chunk for easier distribution.
In 2aafeed, this patch stopped being successfully applied. I haven't yet determined how this didn't break the build outright, but many of the strings inserted by the patch existed nowhere in the binary at all, and several components would have failed to apply, had it actually been attempted.
In this PR, the patch is updated to apply correctly on top of squashfs 4.4 as modified by the other patches previously applied.