From c6e6f69a7911cfba467a9c0f816abf38306bfc84 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Jan 2012 17:00:22 +0000 Subject: include dkms-modules.alias too (mga#1405) --- images/make_boot_img | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index b3385a95b..d942d4a94 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -160,8 +160,9 @@ sub initrd { _ "install -D /usr/share/ldetect-lst/$_.gz $tmp_initrd/usr/share/ldetect-lst/$_.gz"; } _ "install -D /usr/share/pci.ids $tmp_initrd/usr/share/pci.ids"; - foreach ("/usr/share/ldetect-lst/fallback-modules.alias", "/lib/module-init-tools/ldetect-lst-modules.alias") { - _ "install -D $_ $tmp_initrd$_"; + foreach ("dkms-modules.alias", "fallback-modules.alias", "/lib/module-init-tools/ldetect-lst-modules.alias") { + my $file = m!^/! ? $_ : "/usr/share/ldetect-lst/$_"; + _ "install -D $file $tmp_initrd$file"; } foreach my $firm (glob_("all.kernels$I/$ext/firmware/*")) { my $dest=$firm; -- cgit v1.2.1