Re-enable multi-layer squashfs support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
AFAIK, Casper supports booting when there is more than one squashfs file in the casper directory. At least, this _was_ supported under Ubuntu trusty which used aufs as union file system. Then there came utopic, wily, vivid which switched to overlayfs. This file system didn't support layering more than one ro sources in its early versions so that this feature didn't work anymore. The code in the casper script looks like a work-around about this by stacked mounting multiple overlayfs. Unfortunately, I've never seen a version of overlayfs which supported another overlayfs as source.
Since kernel 3.19, overlayfs officially supports multiple layers (http://
Fully-working patch attached.
summary: |
- Booting support with multiple squashfs files + Re-enable multi-layer squashfs support |
Btw it mainly affects all releases after Ubuntu 14.04 Trusty including the new 16.04 Xenial