>From linux-firmware postinst script it has:
5 if [ -x /usr/sbin/update-initramfs ]; then
6 /usr/sbin/update-initramfs -u -k all
7 fi
and since this is optional, there is no dependency to initramfs-tools-
bin declared. I think we can test if the initramfs-tools package has
completed installation instead: `dpkg-query --show -f '${Status}'
initramfs-tools`.
** Changed in: linux-firmware (Ubuntu Bionic)
Importance: Undecided => Low
** Changed in: linux-firmware (Ubuntu Disco)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1839236
Title:
failed to configure linux-firmware in minimal cloud image based vm in
cloud-init: Can't open /etc/initramfs-tools/initramfs.conf
Status in linux-firmware package in Ubuntu:
New
Status in linux-firmware source package in Bionic:
New
Status in linux-firmware source package in Disco:
New
Bug description:
When running a patched `autopkgtest-buildvm-ubuntu-cloud` that enables
constructing autopkgtest vm with minial cloud images [1], it fails to install
linux-firmware at postinst stage because /etc/initramfs-tools/initramfs.conf
from package initramfs-tools-core may not have been installed:
```
cloud-init[528]: Setting up linux-firmware (1.173.9) ...
cloud-init[528]: update-initramfs: Generating /boot/initrd.img-4.15.0-1039-kvm
cloud-init[528]: /usr/sbin/mkinitramfs: 66: .: Can't open
/etc/initramfs-tools/initramfs.conf
cloud-init[528]: update-initramfs: failed for
/boot/initrd.img-4.15.0-1039-kvm with 2.
cloud-init[528]: dpkg: error processing package linux-firmware (--configure):
cloud-init[528]: installed linux-firmware package post-installation script
subprocess returned error exit status 2
```
See https://gitlab.com/hustle-ci/autopkgtest-ubuntu/-/jobs/265419649
for full log.
[1]: https://cloud-images.ubuntu.com/minimal/daily/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp