Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > 0f214984cd66e5ab2c863e9839bbe2e9 > files > 1

drakx-installer-images-2.90-2.mga9.src.rpm

From 289c5cd94a3c1520cf42676d0b539d3ab3e15d9e Mon Sep 17 00:00:00 2001
From: Thierry Vignaud <thierry.vignaud@gmail.com>
Date: Thu, 6 Jan 2022 18:12:53 +0100
Subject: [PATCH] Include 'network-legacy' when using 'nfs' dracut module

---
 images/NEWS          | 1 +
 images/make_boot_img | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

#diff --git a/images/NEWS b/images/NEWS
#index 5719686ef..7279c5c07 100644
#--- a/images/NEWS
#+++ b/images/NEWS
#@@ -1,4 +1,5 @@
# - Fix warning & use the intended compression level
#+- Include 'network-legacy' when using 'nfs' dracut module
# - sync with kernel 5.15
# 
# Version 2.83 -  27 February 2021 by Thomas Backlund
diff --git a/images/make_boot_img b/images/make_boot_img
index bb6644c01..b3ce0886e 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -146,7 +146,7 @@ sub initrd {
     my ($img, $kernel) = @_;
     my $stage1_binary = $ENV{USE_LOCAL_STAGE1} ? trim(`realpath ../mdk-stage1/stage1`) : "";
     my $init_binary = $ENV{USE_LOCAL_STAGE1} ? trim(`realpath ../mdk-stage1/init`) : "";
-    my $modules = " mgainstaller nfs ";
+    my $modules = " mgainstaller network-legacy nfs ";
     my $drivers = `perl ../kernel/modules.pl list_needed_modules $kernel | xargs`;
     my $fakedrivers = `perl ../kernel/modules.pl list_fake_modules $kernel | xargs`;
 
-- 
2.34.1