Автор: Коренастый Ворона, 4 Месяца назад, написана на языке Plain Text.
Встраивание на сайт
  1. # vim:set ft=sh
  2. # MODULES
  3. # The following modules are loaded before any boot hooks are
  4. # run.  Advanced users may wish to specify all system modules
  5. # in this array.  For instance:
  6. #     MODULES=(usbhid xhci_hcd)
  7. MODULES=(i915)
  8.  
  9. # BINARIES
  10. # This setting includes any additional binaries a given user may
  11. # wish into the CPIO image.  This is run last, so it may be used to
  12. # override the actual binaries included by a given hook
  13. # BINARIES are dependency parsed, so you may safely ignore libraries
  14. BINARIES=()
  15.  
  16. # FILES
  17. # This setting is similar to BINARIES above, however, files are added
  18. # as-is and are not parsed in any way.  This is useful for config files.
  19. FILES=()
  20.  
  21. # HOOKS
  22. # This is the most important setting in this file.  The HOOKS control the
  23. # modules and scripts added to the image, and what happens at boot time.
  24. # Order is important, and it is recommended that you do not change the
  25. # order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
  26. # help on a given hook.
  27. # 'base' is _required_ unless you know precisely what you are doing.
  28. # 'udev' is _required_ in order to automatically load modules
  29. # 'filesystems' is _required_ unless you specify your fs modules in MODULES
  30. # Examples:
  31. ##   This setup specifies all modules in the MODULES setting above.
  32. ##   No RAID, lvm2, or encrypted root is needed.
  33. #    HOOKS=(base)
  34. #
  35. ##   This setup will autodetect all modules for your system and should
  36. ##   work as a sane default
  37. #    HOOKS=(base udev autodetect modconf block filesystems fsck)
  38. #
  39. ##   This setup will generate a 'full' image which supports most systems.
  40. ##   No autodetection is done.
  41. #    HOOKS=(base udev modconf block filesystems fsck)
  42. #
  43. ##   This setup assembles a mdadm array with an encrypted root file system.
  44. ##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
  45. #    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
  46. #
  47. ##   This setup loads an lvm2 volume group.
  48. #    HOOKS=(base udev modconf block lvm2 filesystems fsck)
  49. #
  50. ##   This will create a systemd based initramfs which loads an encrypted root filesystem.
  51. #    HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
  52. #
  53. ##   NOTE: If you have /usr on a separate partition, you MUST include the
  54. #    usr and fsck hooks.
  55. HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont plymouth filesystems fsck)
  56.  
  57. # COMPRESSION
  58. # Use this to compress the initramfs image. By default, zstd compression
  59. # is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
  60. # Use 'cat' to create an uncompressed image.
  61. #COMPRESSION="zstd"
  62. #COMPRESSION="gzip"
  63. #COMPRESSION="bzip2"
  64. #COMPRESSION="lzma"
  65. #COMPRESSION="xz"
  66. #COMPRESSION="lzop"
  67. #COMPRESSION="lz4"
  68.  
  69. # COMPRESSION_OPTIONS
  70. # Additional options for the compressor
  71. #COMPRESSION_OPTIONS=()
  72.  
  73. # MODULES_DECOMPRESS
  74. # Decompress loadable kernel modules and their firmware during initramfs
  75. # creation. Switch (yes/no).
  76. # Enable to allow further decreasing image size when using high compression
  77. # (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
  78. # at early boot.
  79. # Note that any compressed files will be placed in the uncompressed early CPIO
  80. # to avoid double compression.
  81. #MODULES_DECOMPRESS="no"
  82.