systemd.cfg 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ##############################################
  2. #
  3. # Kernel options needed for systemd enabled TI SDKs
  4. # See https://cgit.freedesktop.org/systemd/systemd/tree/README#n38 for details
  5. #
  6. ##############################################
  7. CONFIG_DEVTMPFS=y
  8. CONFIG_DEVTMPFS_MOUNT=y
  9. CONFIG_CGROUPS=y
  10. CONFIG_CGROUP_FREEZER=y
  11. CONFIG_CGROUP_DEVICE=y
  12. CONFIG_CGROUP_CPUACCT=y
  13. CONFIG_BLK_CGROUP=y
  14. CONFIG_CGROUP_PIDS=y
  15. CONFIG_CGROUP_PERF=y
  16. CONFIG_INOTIFY_USER=y
  17. CONFIG_SIGNALFD=y
  18. CONFIG_TIMERFD=y
  19. CONFIG_EPOLL=y
  20. CONFIG_NET=y
  21. CONFIG_SYSFS=y
  22. CONFIG_PROC_FS=y
  23. CONFIG_FHANDLE=y
  24. # udev will fail to work with the legacy sysfs layout:
  25. CONFIG_SYSFS_DEPRECATED=n
  26. # Legacy hotplug slows down the system and confuses udev:
  27. CONFIG_UEVENT_HELPER_PATH=""
  28. # Userspace firmware loading is not supported and should
  29. # be disabled in the kernel:
  30. CONFIG_FW_LOADER_USER_HELPER=n
  31. # Some udev rules and virtualization detection relies on it:
  32. # Only for UEFI based systems
  33. # http://cateee.net/lkddb/web-lkddb/DMI.html
  34. CONFIG_DMIID=n
  35. # Support for some SCSI devices serial number retrieval, to
  36. # create additional symlinks in /dev/disk/ and /dev/tape:
  37. CONFIG_BLK_DEV_BSG=y
  38. # Required for PrivateNetwork and PrivateDevices in service units:
  39. # Note that systemd-localed.service and other systemd units use
  40. # PrivateNetwork and PrivateDevices so this is effectively required.
  41. CONFIG_NAMESPACES=y
  42. CONFIG_NET_NS=y
  43. CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
  44. # Optional but strongly recommended options: those are nice to have and
  45. # indeed recommended, but not necessarily systemd required. These to be
  46. # enabled in corresponding domain fragments since they are not specific
  47. # to supporting systemd.
  48. CONFIG_SECCOMP=y
  49. # for kcmp syscall
  50. CONFIG_CHECKPOINT_RESTORE=y
  51. # Required for CPUShares= in resource control unit settings
  52. CONFIG_CGROUP_SCHED=y
  53. CONFIG_FAIR_GROUP_SCHED=y
  54. # Required for CPUQuota= in resource control unit settings
  55. CONFIG_CFS_BANDWIDTH=y
  56. # For systemd-bootchart, several proc debug interfaces are required:
  57. # Systemd-debug.cfg?
  58. CONFIG_SCHEDSTATS=y
  59. CONFIG_SCHED_DEBUG=y
  60. # We recommend to turn off Real-Time group scheduling in the
  61. # kernel when using systemd. RT group scheduling effectively
  62. # makes RT scheduling unavailable for most userspace, since it
  63. # requires explicit assignment of RT budgets to each unit whose
  64. # processes making use of RT. As there's no sensible way to
  65. # assign these budgets automatically this cannot really be
  66. # fixed, and it's best to disable group scheduling hence.
  67. CONFIG_RT_GROUP_SCHED=n
  68. # Note that kernel auditing is broken when used with systemd's
  69. # container code. When using systemd in conjunction with
  70. # containers, please make sure to either turn off auditing at
  71. # runtime using the kernel command line option "audit=0", or
  72. # turn it off at kernel compile time using:
  73. CONFIG_AUDIT=n