Update new setup

This commit is contained in:
Tobias Strobel 2022-09-25 20:01:11 +02:00
parent 842511035a
commit 39633f5303
48 changed files with 944 additions and 1210 deletions

19
etc/dracut.conf Normal file
View file

@ -0,0 +1,19 @@
# Do not show systemd messages at startup (quiet)
# Show plymouth splash screen
kernel_cmdline+=" quiet loglevel=3 rd.udev.log_level=3 fbconf=nodefer splash vt.global_cursor_default=0 mem_sleep_default=deep "
# Compress to load faster
compress="zstd"
# Use hostonly to exclude unnecessary modules, but do not include the hostonly
# cmdline in the image, because I rely on discoverable partitions to mount the
# root filesystem.
# See <https://github.com/dracutdevs/dracut/issues/723#issuecomment-792248568>
hostonly="yes"
hostonly_cmdline="no"
# Add video drivers for early KMS
add_drivers+=" i915 "
# Omit bluetooth; I do not have bluetooth hardware I'd need during early boot,
# and as of 2021-12 it fails to build anyway, see
# https://bugs.archlinux.org/task/72463 and https://github.com/dracutdevs/dracut/pull/1671
omit_dracutmodules+=" bluetooth "
# Make sure we have the TPM stack available
add_dracutmodules+=" tpm2-tss "