Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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".