2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-04 12:30:10 +00:00

Merge pull request #6805 from cxhong/mlx5

Add kernel-modules-extra to dracut module list
This commit is contained in:
Mark Gurevich 2020-08-14 08:34:36 -04:00 committed by GitHub
commit cebf36e991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1079,7 +1079,7 @@ sub mkinitrd_dracut {
#update etc/dracut.conf
open($DRACUTCONF, '>', "$rootimg_dir/etc/dracut.conf");
my $dracutmodulelist = "xcat nfs base network kernel-modules syslog";
my $dracutmodulelist = "xcat nfs base network kernel-modules kernel-modules-extra syslog";
foreach (qw/systemd systemd-initrd dracut-systemd fadump/) {
my ($dir) = glob($dracutmoduledir . "[0-9]*" . $_);
@ -1120,7 +1120,7 @@ sub mkinitrd_dracut {
$perm = (stat("$fullpath/$dracutdir/installkernel"))[2];
chmod($perm & 07777, "$dracutmpath/installkernel");
my $dracutmodulelist = "xcat nfs base network kernel-modules syslog";
my $dracutmodulelist = "xcat nfs base network kernel-modules kernel-modules-extra syslog";
foreach (qw/systemd systemd-initrd dracut-systemd fadump/) {
my ($dir) = glob($dracutmoduledir . "[0-9]*" . $_);