[Bug 1571506] Re: update-initramfs should include firmware from /lib/firmware/updates
William Wilson
1571506 at bugs.launchpad.net
Thu Mar 4 21:46:43 UTC 2021
> without a SRU template? ;-)
Thanks for the reminder!
** Description changed:
+ [Impact]
+
+ * Firmware files under /lib/firmware/updates would not be
+ processed when running update-initramfs
+
+ * The kernel org specifies that this is a location where
+ firmware can be stored, so we should search there
+
+ [Test Case]
+
+ * Stage some firmware under /lib/firmware/updates
+
+ * Run update-initramfs and ensure that the firmware in
+ /lib/firmware/updates is found and included in the initramfs
+
+ [Where problems could occur]
+
+ * Since dpkg places no files in /lib/firmware/updates, we
+ could end up picking up firmware changes that we did not intend
+
+ [Other info]
+
+ * This change already exists in groovy and beyond. It was pulled in
+ when initramfs-tools version 0.137 was merged from Debian
+
according to the kernel doc
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/firmware_class/README
Linux kernel will search firmware from
"/lib/firmware/updates/" UTS_RELEASE,
"/lib/firmware/updates",
"/lib/firmware/" UTS_RELEASE,
"/lib/firmware"
But the add module function in initramfs-tools won't search the
"/lib/firmware/updates".
This problem applies to all Ubuntu releases.
Attach patch to fix this.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initramfs-tools 0.103ubuntu4.2
ProcVersionSignature: Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3
Uname: Linux 4.2.0-30-generic i686
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: i386
CurrentDesktop: Unity
Date: Mon Apr 18 14:24:29 2016
InstallationDate: Installed on 2014-04-23 (725 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1571506
Title:
update-initramfs should include firmware from /lib/firmware/updates
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Focal:
In Progress
Status in initramfs-tools source package in Groovy:
Fix Released
Status in initramfs-tools source package in Hirsute:
Fix Released
Bug description:
[Impact]
* Firmware files under /lib/firmware/updates would not be
processed when running update-initramfs
* The kernel org specifies that this is a location where
firmware can be stored, so we should search there
[Test Case]
* Stage some firmware under /lib/firmware/updates
* Run update-initramfs and ensure that the firmware in
/lib/firmware/updates is found and included in the initramfs
[Where problems could occur]
* Since dpkg places no files in /lib/firmware/updates, we
could end up picking up firmware changes that we did not intend
[Other info]
* This change already exists in groovy and beyond. It was pulled in
when initramfs-tools version 0.137 was merged from Debian
according to the kernel doc
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/firmware_class/README
Linux kernel will search firmware from
"/lib/firmware/updates/" UTS_RELEASE,
"/lib/firmware/updates",
"/lib/firmware/" UTS_RELEASE,
"/lib/firmware"
But the add module function in initramfs-tools won't search the
"/lib/firmware/updates".
This problem applies to all Ubuntu releases.
Attach patch to fix this.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initramfs-tools 0.103ubuntu4.2
ProcVersionSignature: Ubuntu 4.2.0-30.36~14.04.1-generic 4.2.8-ckt3
Uname: Linux 4.2.0-30-generic i686
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: i386
CurrentDesktop: Unity
Date: Mon Apr 18 14:24:29 2016
InstallationDate: Installed on 2014-04-23 (725 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1571506/+subscriptions
More information about the foundations-bugs
mailing list