[FFe] add squashfs support by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In testing use of squashfs images, I found that my initramfs could not mount the squashfs filesystem.
Paired with overlayroot, squashfs is very nice for testing.
We're investigating use of squashfs as a image type for cloud images.
Heres example of the changes to the generated initramfs.
Roughly 22k growth on what was ~32M. The only module added is the
squashfs module (no additional deps pulled in).
$ cd /boot
$ sudo cp initrd.
$ sudo dpkg -i initramfs-
$ dpkg-query --show initramfs-tools
0.120ubuntu6~sm0
$ sudo update-initramfs -u -k 4.2.0-12-generic
$ lsinitramfs initrd.
$ lsinitramfs initrd.
$ diff -u /tmp/list.orig /tmp/list
--- /tmp/list.orig 2015-10-01 12:59:09.030401257 -0400
+++ /tmp/list 2015-10-01 13:04:56.537463788 -0400
@@ -163,7 +163,7 @@
etc/udev
etc/udev/udev.conf
init
-initrd.
+initrd.
kernel
kernel/x86
kernel/
@@ -1461,6 +1461,8 @@
lib/modules/
lib/modules/
lib/modules/
+lib/modules/
+lib/modules/
lib/modules/
lib/modules/
lib/modules/
$ ls -l initrd.
-rw-r--r-- 1 root root 33555932 Oct 1 13:03 initrd.
-rw-r--r-- 1 root root 33533473 Oct 1 12:55 initrd.
$ echo $((33555932-
22459
$ ls -l /lib/modules/
-rw-r--r-- 1 root root 87569 Sep 28 17:27 /lib/modules/
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: initramfs-tools 0.120ubuntu5
ProcVersionSign
Uname: Linux 4.2.0-10-generic x86_64
ApportVersion: 2.19-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Oct 1 12:47:13 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (70 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
PackageArchitec
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Blake Rouse (community): Approve
-
Diff: 31 lines (+5/-2)1 file modifiedbin/kpack-from-image (+5/-2)
Minor feature addition with no real regression potential and only minimal size increase. Fine with me, FFe granted.