summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img5
1 files changed, 3 insertions, 2 deletions
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;