summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJybz <j.biernacki@free.fr>2024-04-20 23:21:04 +0200
committerJybz <j.biernacki@free.fr>2024-04-20 23:21:04 +0200
commita43a3a6f917e74a8d4f97eede7513db7948c644e (patch)
tree3b59a63ef17ddbea5c3f28cecc90d4df207e9030
parent9ba6abbaf6f83e633d91c5a5da72117f9729182b (diff)
downloadmageia-dracut-conf-a43a3a6f917e74a8d4f97eede7513db7948c644e.tar
mageia-dracut-conf-a43a3a6f917e74a8d4f97eede7513db7948c644e.tar.gz
mageia-dracut-conf-a43a3a6f917e74a8d4f97eede7513db7948c644e.tar.bz2
mageia-dracut-conf-a43a3a6f917e74a8d4f97eede7513db7948c644e.tar.xz
mageia-dracut-conf-a43a3a6f917e74a8d4f97eede7513db7948c644e.zip
do not force -o network from mkinitrd-dracut (move it into config instead), it makes omit_dracutmodules from config ineffective
- origin: https://svnweb.mageia.org/packages/updates/9/dracut/current/SOURCES/50-mageia.conf?revision=235951&view=markup
-rw-r--r--50-mageia.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/50-mageia.conf b/50-mageia.conf
index c76f67b..1918915 100644
--- a/50-mageia.conf
+++ b/50-mageia.conf
@@ -7,3 +7,8 @@ hostonly="yes"
# always include ahci driver (mga#4364)
add_drivers+=" ahci "
+# Do not include the network module by default which saves about 10megs
+# Users can still generate a network friendly initrd by editing this file
+# or overriding omit_dracutmodules from another config file
+omit_dracutmodules+=" network "
+