summaryrefslogtreecommitdiffstats
path: root/files/dracut-live.conf
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-04 22:41:28 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-04 22:41:28 +0000
commit5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45 (patch)
tree7cc3d8f9af990e22842e370e7473db68adacdde2 /files/dracut-live.conf
parentdc16c1eb290c8642614f25d09972ad0a546123bc (diff)
downloaddraklive-config-5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45.tar
draklive-config-5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45.tar.gz
draklive-config-5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45.tar.bz2
draklive-config-5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45.tar.xz
draklive-config-5d9e6b07bbb7de9fbb706cea05dbdaeff148dd45.zip
Rationalise and better document the configuration.
Diffstat (limited to 'files/dracut-live.conf')
-rw-r--r--files/dracut-live.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/files/dracut-live.conf b/files/dracut-live.conf
new file mode 100644
index 0000000..42b3e24
--- /dev/null
+++ b/files/dracut-live.conf
@@ -0,0 +1,16 @@
+# it is a live, build initrd to boot any hardware
+hostonly="no"
+# load mga livecd support
+add_dracutmodules+=" mgalive "
+# block some dracut modules we dont want / use
+omit_dracutmodules+=" caps crypt dm dmraid mdraid lvm nfs i18n resume modsign "
+# compress initrd with xz
+compress_l="xz"
+# whitelist only the filesystems needed by live CDs and live USB
+filesystems="iso9660 vfat =fs/nls squashfs overlay"
+# ensure drm drivers are available early in the boot sequence
+add_drivers+=" amdgpu radeon nouveau i915 vboxvideo "
+# fibre channel & iSCSI modules are unneeded on live CD/USB and pull 1MB+ of firmware files
+omit_drivers+=" qla1280 qla2xxx qla4xxx "
+# pata_acpi is not wanted on boot
+omit_drivers+=" pata_acpi "