Skip to content

Commit

Permalink
ubuntu-core-initramfs: copy missing modules.builtin.modinfo
Browse files Browse the repository at this point in the history
This file is needed by dracut-install when installing modules. So we
should copy it.
  • Loading branch information
valentindavid authored and alfonsosanchezbeato committed Jan 10, 2024
1 parent 12b79fb commit ce2bbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ubuntu-core-initramfs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def create_initrd(parser, args):
add_modules_from_file(main, kernel_root, modules, firmware, module_load, db,
warn_discoverable=True)

for modulesf in ["modules.order", "modules.builtin", "modules.builtin.bin"]:
for modulesf in ["modules.order", "modules.builtin", "modules.builtin.bin", "modules.builtin.modinfo"]:
subprocess.check_call(
[
"/usr/lib/dracut/dracut-install",
Expand Down

0 comments on commit ce2bbf2

Please sign in to comment.