Challenge Overview
Brotli is a compression format from Google. https://github.com/google/brotli
SquashFS is a Linux utility that can build compressed file systems. http://squashfs.sourceforge.net
For this challenge, we are going to take a recently completed implementation of brotli support for SquashFS, and we are going to document how to build a SquashFS volume that can be booted from.
The client is hoping to be able to push Brotli SquashFS support back into the main Linux Kernel repository, for specific versions. They have asked us to target kernels 2.6, 3, and 4. This challenge will create a patch for kernel 2.6.37.
Requirements:
In your submission, please provide a patch file for Linux kernel 2.6.37 that includes the Brotli SquashFS support. Your deployment guide will need to detail how to build the kernel using the sources downloaded directly from kernel.org. The previous submission that targeted 3.18.29 will be included in the forum.
hdparm
For testing, we will be using hdparm against the mounted squashfs. Please make sure that the hdparm tool runs in VirtualBox against the mounted squashfs root file system for testing.
Testing
For this challenge, we are going to target booting in VirtualBox with minimal tools. Please make sure that "hdparm" works, since we will use that for testing the speed of different squashfs compression algorithms.
Final Submission Guidelines
Please see above.