diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-27 17:00:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-27 17:00:22 +0000 |
commit | c6e6f69a7911cfba467a9c0f816abf38306bfc84 (patch) | |
tree | 943e5ea15dd0193bc8c901113599a2d90c70144f /images/make_boot_img | |
parent | 12c480440778ee58e86d50531a14ba39824a0a42 (diff) | |
download | drakx-backup-do-not-use-c6e6f69a7911cfba467a9c0f816abf38306bfc84.tar drakx-backup-do-not-use-c6e6f69a7911cfba467a9c0f816abf38306bfc84.tar.gz drakx-backup-do-not-use-c6e6f69a7911cfba467a9c0f816abf38306bfc84.tar.bz2 drakx-backup-do-not-use-c6e6f69a7911cfba467a9c0f816abf38306bfc84.tar.xz drakx-backup-do-not-use-c6e6f69a7911cfba467a9c0f816abf38306bfc84.zip |
include dkms-modules.alias too (mga#1405)
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-x | images/make_boot_img | 5 |
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; |