Yes, I can see the error message in our FocalTestBasic.
The bug you mentioned specifies calls to update-initramfs, in curtin we're now diverting this binary, so it cannot be calls to update-initramfs. Instead looking at the patch in the bug you mention, it's /usr/sbin/mkinitramfs; which I suspect is being invoked *directly* in the package postinst.
I suspect curtin could divert this as well, however; it's not clear why we should do that; it appears to be an error within the package.
However, the focal package does not have the change mentioned.
# grep -A1 -B1 "for x in modules" /usr/sbin/mkinitramfs
# Copy in modules.builtin and modules.order (not generated by depmod)
for x in modules.builtin modules.order; do
if [ -f "${MODULESDIR}/${x}" ]; then
Vs. the fix:
+# and modules.builtin.bin (generated by depmod, but too late to avoid
+# error messages as in #948257)
+for x in modules.builtin modules.builtin.bin modules.order; do
Yes, I can see the error message in our FocalTestBasic.
The bug you mentioned specifies calls to update-initramfs, in curtin we're now diverting this binary, so it cannot be calls to update-initramfs. Instead looking at the patch in the bug you mention, it's /usr/sbin/ mkinitramfs; which I suspect is being invoked *directly* in the package postinst.
I suspect curtin could divert this as well, however; it's not clear why we should do that; it appears to be an error within the package.
In focal, we have:
root@f1:~# apt-cache policy initramfs- tools-core tools-core: archive. ubuntu. com/ubuntu focal/main amd64 Packages dpkg/status
initramfs-
Installed: 0.133ubuntu14
Candidate: 0.136ubuntu1
Version table:
0.136ubuntu1 500
500 http://
*** 0.133ubuntu14 100
100 /var/lib/
However, the focal package does not have the change mentioned.
# grep -A1 -B1 "for x in modules" /usr/sbin/ mkinitramfs /${x}" ]; then
# Copy in modules.builtin and modules.order (not generated by depmod)
for x in modules.builtin modules.order; do
if [ -f "${MODULESDIR}
Vs. the fix:
+# and modules.builtin.bin (generated by depmod, but too late to avoid
+# error messages as in #948257)
+for x in modules.builtin modules.builtin.bin modules.order; do