Public bug reported:

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/

** Affects: linux-firmware (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-firmware (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux-firmware (Ubuntu Disco)
     Importance: Undecided
         Status: New

** Patch added: "patch to add --minimal to autopkgtest-buildvm-ubuntu-cloud"
   
https://bugs.launchpad.net/bugs/1839236/+attachment/5281331/+files/autopkgtest-buildvm-ubuntu-cloud.patch

** Also affects: linux-firmware (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: linux-firmware (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1839236/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to