Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #
  2. # Configuration for initramfs
  3. #
  4. config INITRAMFS_SOURCE
  5. string "Initramfs source file(s)"
  6. default ""
  7. help
  8. This can be either a single cpio archive with a .cpio suffix or a
  9. space-separated list of directories and files for building the
  10. initramfs image. A cpio archive should contain a filesystem archive
  11. to be used as an initramfs image. Directories should contain a
  12. filesystem layout to be included in the initramfs image. Files
  13. should contain entries according to the format described by the
  14. "usr/gen_init_cpio" program in the kernel tree.
  15. When multiple directories and files are specified then the
  16. initramfs image will be the aggregate of all of them.
  17. See <file:Documentation/early-userspace/README> for more details.
  18. If you are not sure, leave it blank.
  19. config INITRAMFS_ROOT_UID
  20. int "User ID to map to 0 (user root)"
  21. depends on INITRAMFS_SOURCE!=""
  22. default "0"
  23. help
  24. This setting is only meaningful if the INITRAMFS_SOURCE is
  25. contains a directory. Setting this user ID (UID) to something
  26. other than "0" will cause all files owned by that UID to be
  27. owned by user root in the initial ramdisk image.
  28. If you are not sure, leave it set to "0".
  29. config INITRAMFS_ROOT_GID
  30. int "Group ID to map to 0 (group root)"
  31. depends on INITRAMFS_SOURCE!=""
  32. default "0"
  33. help
  34. This setting is only meaningful if the INITRAMFS_SOURCE is
  35. contains a directory. Setting this group ID (GID) to something
  36. other than "0" will cause all files owned by that GID to be
  37. owned by group root in the initial ramdisk image.
  38. If you are not sure, leave it set to "0".
  39. config RD_GZIP
  40. bool "Support initial ramdisks compressed using gzip"
  41. depends on BLK_DEV_INITRD
  42. default y
  43. select DECOMPRESS_GZIP
  44. help
  45. Support loading of a gzip encoded initial ramdisk or cpio buffer.
  46. If unsure, say Y.
  47. config RD_BZIP2
  48. bool "Support initial ramdisks compressed using bzip2"
  49. default y
  50. depends on BLK_DEV_INITRD
  51. select DECOMPRESS_BZIP2
  52. help
  53. Support loading of a bzip2 encoded initial ramdisk or cpio buffer
  54. If unsure, say N.
  55. config RD_LZMA
  56. bool "Support initial ramdisks compressed using LZMA"
  57. default y
  58. depends on BLK_DEV_INITRD
  59. select DECOMPRESS_LZMA
  60. help
  61. Support loading of a LZMA encoded initial ramdisk or cpio buffer
  62. If unsure, say N.
  63. config RD_XZ
  64. bool "Support initial ramdisks compressed using XZ"
  65. depends on BLK_DEV_INITRD
  66. default y
  67. select DECOMPRESS_XZ
  68. help
  69. Support loading of a XZ encoded initial ramdisk or cpio buffer.
  70. If unsure, say N.
  71. config RD_LZO
  72. bool "Support initial ramdisks compressed using LZO"
  73. default y
  74. depends on BLK_DEV_INITRD
  75. select DECOMPRESS_LZO
  76. help
  77. Support loading of a LZO encoded initial ramdisk or cpio buffer
  78. If unsure, say N.
  79. config RD_LZ4
  80. bool "Support initial ramdisks compressed using LZ4"
  81. default y
  82. depends on BLK_DEV_INITRD
  83. select DECOMPRESS_LZ4
  84. help
  85. Support loading of a LZ4 encoded initial ramdisk or cpio buffer
  86. If unsure, say N.