[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1014319: depmod: WARNING: could not open modules.builtin.modinfo at /var/tmp/mkinitramfs_vBlw4a/lib/modules/5.18.0-2-amd64: No such file or directory



On Sat, 9 Jul 2022 21:02:50 +0200 Salvatore Bonaccorso <carnil@debian.org> wrote:
On Thu, Jul 07, 2022 at 01:37:53PM +0200, Michael Biebl wrote:
> It would thus be great to have the patch in [2] applied and uploaded soon. I
> can offer to NMU if available time is an issue.

With that patch MR filled:

https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/64


Thanks for the patch, Sven and thanks for the MR, Salvatore!

Since we haven't received any feedback so far, I've uploaded an NMU with the patch to DELAYED/5 (debdiff attached)

Ben, please holler if you have any objections and you want me to cancel the NMU.

Regards,
Michael
diff -Nru initramfs-tools-0.141/debian/changelog initramfs-tools-0.141+nmu1/debian/changelog
--- initramfs-tools-0.141/debian/changelog	2022-04-10 23:39:45.000000000 +0200
+++ initramfs-tools-0.141+nmu1/debian/changelog	2022-07-12 17:48:01.000000000 +0200
@@ -1,3 +1,14 @@
+initramfs-tools (0.141+nmu1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Sven Joachim ]
+  * Copy modules.builtin.modinfo into initramfs.
+    As of kmod version 30, depmod issues a warning if this file is missing.
+    (Closes: #1014319)
+
+ -- Michael Biebl <biebl@debian.org>  Tue, 12 Jul 2022 17:48:01 +0200
+
 initramfs-tools (0.141) unstable; urgency=medium
 
   [ Hideki Yamane ]
diff -Nru initramfs-tools-0.141/mkinitramfs initramfs-tools-0.141+nmu1/mkinitramfs
--- initramfs-tools-0.141/mkinitramfs	2022-04-10 21:59:31.000000000 +0200
+++ initramfs-tools-0.141+nmu1/mkinitramfs	2022-07-12 17:47:56.000000000 +0200
@@ -294,10 +294,10 @@
 	mkdir -p "${DESTDIR}/${d}"
 done
 
-# Copy in modules.builtin and modules.order (not generated by depmod)
+# Copy in modules.builtin, modules.builtin.modinfo and modules.order (not generated by depmod)
 # 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
+for x in modules.builtin modules.builtin.bin modules.builtin.modinfo modules.order; do
 	if [ -f "${MODULESDIR}/${x}" ]; then
 		cp -p "${MODULESDIR}/${x}" "${DESTDIR}${MODULESDIR}/${x}"
 	fi

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: