您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

bedrock.conf 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. [locale]
  2. timezone = Europe/Kiev
  3. localegen = en_US.UTF-8 UTF-8
  4. LANG = en_US.UTF-8
  5. [init]
  6. timeout = 3
  7. default = void:/sbin/init
  8. paths = /sbin/init, /sbin/fallback-init, /sbin/myinit, /sbin/ninit, /sbin/openrc-init, /sbin/runit-init, /sbin/simpleinit, /sbin/upstart, /lib/sysvinit/init, /lib/systemd/systemd, /usr/lib/systemd/systemd
  9. [global]
  10. share = /boot, /dev, /home, /lib/modules, /media, /mnt, /proc, /root, /run, /sys, /tmp
  11. bind = /bedrock, /bedrock/cross, /bedrock/run, /bedrock/strata/bedrock
  12. etc = adjtime, crypttab, default/grub, fstab, group, group-, group.org, gshadow, gshadow-, gshadow.org, hostname, hosts, login.defs, machine-id, modprobe.d/blacklist.conf, passwd, passwd-, passwd.org, rc.local, resolv.conf, resolvconf/run, shadow, shadow-, shadow.org, sudoers
  13. [symlinks]
  14. #
  15. # Enforce various symlinks are in place at local paths. This is applied at
  16. # stratum enable/repair time.
  17. #
  18. # Keys are local paths, values are symlink contents.
  19. #
  20. # The symlink contents must be absolute paths.
  21. #
  22. #
  23. # Some package managers attempt to update this. They become upset if it is
  24. # created between an unlink() and symlink(), making it unsuitable for
  25. # [etc-symlinks] below.
  26. #
  27. # Different distros use slightly different values here that are all effectively
  28. # the same. Rather than attempt to fight distros in this regard, Bedrock has
  29. # hard-coded internal support for multiple valid values here and may not
  30. # respect changes to this field.
  31. /etc/mtab = /proc/self/mounts
  32. #
  33. # Some distros may expect a file at one path while others expect it at another.
  34. # Standardize the location of global files.
  35. #
  36. /var/lib/dbus/machine-id = /etc/machine-id
  37. /var/run = /run
  38. #
  39. # Various programs need to be configured to properly interact with Bedrock
  40. # subsystems. Point them to Bedrock configuration.
  41. #
  42. /etc/systemd/system/bedrock-fix-mounts.service = /bedrock/share/systemd/bedrock-fix-mounts.service
  43. /etc/systemd/system/bedrock-stop-fuse-filesystems.service = /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
  44. /etc/systemd/system/multi-user.target.wants/bedrock-fix-mounts.service = /bedrock/share/systemd/bedrock-fix-mounts.service
  45. /etc/systemd/system/multi-user.target.wants/bedrock-stop-fuse-filesystems.service = /bedrock/share/systemd/bedrock-stop-fuse-filesystems.service
  46. /etc/X11/xorg.conf.d/99-bedrock-fonts.conf = /bedrock/run/xorg-fonts
  47. /etc/fonts/conf.d/99-bedrock-fonts.conf = /bedrock/share/fonts/fontconf.conf
  48. /etc/X11/Xsession.d/99bedrock_env = /bedrock/run/profile
  49. /etc/X11/xinit/xinitrc.d/99bedrock_env = /bedrock/run/profile
  50. /etc/bash_completion.d/brl = /bedrock/share/bash/completion/brl
  51. /etc/bash_completion.d/strat = /bedrock/share/bash/completion/strat
  52. /etc/fish/conf.d/99bedrock.fish = /bedrock/run/fprofile
  53. /etc/fish/completions/brl.fish = /bedrock/share/fish/completion/brl.fish
  54. /etc/fish/completions/strat.fish = /bedrock/share/fish/completion/strat.fish
  55. /etc/resolvconf/update.d/00bedrock = /bedrock/share/resolvconf/00bedrock
  56. #
  57. # In general, system software such as Bedrock should not manipulate /usr/local.
  58. # Bedrock should favor configuring /etc files instead.
  59. #
  60. # However, dbus's dbus-daemon-launch-helper seems to ignore /etc/dbus-1/
  61. # configuration extending the search path. See
  62. # https://bugs.freedesktop.org/show_bug.cgi?id=92458 for a discussion on the
  63. # matter. For example:
  64. #
  65. # > Note that d-d-l-h only reads .service files from standard hard-coded paths,
  66. # > not from any additional paths that you might have configured
  67. #
  68. # Since /usr/local/share/dbus is included in the hard-coded paths, is not used
  69. # by most package managers, and is rarely used by end-users, it's the cleanest
  70. # option available to teach dbus about /bedrock/cross.
  71. #
  72. /usr/local/share/dbus-1/system-services = /bedrock/cross/dbus-system
  73. /usr/local/share/dbus-1/services = /bedrock/cross/dbus-session
  74. #
  75. # Some distros use a swap file and include reference to it in their fstab.
  76. # This must be global so that it is valid when using an init from another
  77. # stratum. However, it is not clear if it would work well with any of the
  78. # established techniques in [global]. Instead, symlink it into a known global
  79. # directory.
  80. #
  81. [etc-symlinks]
  82. #
  83. # Dynamically enforce various symlinks are in place at local paths. Any change
  84. # away from specified configuration is immediately undone.
  85. #
  86. # Keys are local paths relative to /etc, values are symlink contents.
  87. #
  88. # The symlink contents must be absolute paths.
  89. #
  90. #
  91. # Some init systems attempt to change these values at boot time, just after
  92. # being enabled. Thus, symlinks-general will not suffice.
  93. #
  94. localtime = /bedrock/run/localtime
  95. environment = /bedrock/run/environment
  96. [etc-inject]
  97. #
  98. # Not all programs can be adequately/reliably configured by creating new,
  99. # cleanly isolated configuration files. Instead, a configuration file must be
  100. # extended to include desired configuration without clobbering its stratum
  101. # local configuration. Typically these configuration files are in /etc.
  102. #
  103. # Bedrock ensures that, should certain files exist in /etc, they will include
  104. # content specified at another file path. If the desired content is not found
  105. # in the file it is automatically appended to the end.
  106. #
  107. # The keys are file paths relative to /etc, and the values are paths to files
  108. # whose content must be included if the key's file exists in /etc.
  109. #
  110. # If you alter either the key/values in this section, or the actual content of
  111. # the values, run `brl apply` to apply the change. Do this before rebooting
  112. # to ensure any old content is removed.
  113. #
  114. sudoers = /bedrock/share/sudo/include-bedrock
  115. profile = /bedrock/share/shells/include-bedrock
  116. #
  117. # etc-inject only injects existing files and does create make files in order to
  118. # avoid creating a file a package manager does not expect. Different distro
  119. # zsh packages provide different files, requiring multiple zsh file injections.
  120. #
  121. zprofile = /bedrock/share/zsh/include-bedrock
  122. zshenv = /bedrock/share/zsh/include-bedrock
  123. zsh/zprofile = /bedrock/share/zsh/include-bedrock
  124. zsh/zshenv = /bedrock/share/zsh/include-bedrock
  125. [env-vars]
  126. #
  127. # Many programs search environment variables consisting of a colon-separated
  128. # list of directories. We can use these to teach these programs about
  129. # cross-stratum content.
  130. #
  131. # Generally, the fields fall into three categories, which should be in the
  132. # following order:
  133. #
  134. # - The file must come from a specific stratum.
  135. # - For example, `reboot` should be provided by the stratum providing the
  136. # current init.
  137. # - Typically, these are provided by `/bedrock/cross/pin/[...]`.
  138. # - The file must come from the local stratum.
  139. # - Bedrock Linux assumes strata are self-sufficient in terms of hard
  140. # dependencies. Thus, if something has a hard dependency on a given file
  141. # that file *must* be available locally.
  142. # - For example, if a given distro's `/bin/sh` is provided by bash, that
  143. # distro's scripts may use bash-isms, and thus another distro's `/bin/sh`
  144. # may be unsuitable.
  145. # - Typically these values are the traditional values of the given
  146. # environment variable.
  147. # - The file may come from any stratum.
  148. # - If the above two categories don't apply, we know the program isn't
  149. # picky about the specific version of the given file, and thus any distro
  150. # may provide it.
  151. # - Typically, these are provided by `/bedrock/cross/[...]`.
  152. #
  153. PATH = /bedrock/cross/pin/bin:/bedrock/bin:/usr/local/sbin:/usr/local/bin:/opt/sbin:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bedrock/cross/bin
  154. MANPATH = /bedrock/share/man:/usr/local/share/man:/usr/share/man:/bedrock/cross/man
  155. INFOPATH = /bedrock/share/info:/usr/local/share/info:/usr/share/info:/bedrock/cross/info
  156. XDG_DATA_DIRS = /usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/flatpak/exports/share:/bedrock/cross
  157. TERMINFO_DIRS = /usr/local/share/terminfo:/usr/share/terminfo:/bedrock/cross/terminfo
  158. [restriction]
  159. restrict = apt-key, debuild, dpkg-buildpackage, gdb, git, kiss, makepkg, rpmbuild
  160. [cross]
  161. priority = void, arch
  162. [cross-pass]
  163. man = /bedrock/share/man, /usr/local/share/man, /usr/share/man
  164. info = /bedrock/share/info, /usr/local/share/info, /usr/share/info
  165. icons = /usr/local/share/icons, /usr/share/icons
  166. pixmaps = /usr/local/share/pixmaps, /usr/share/pixmaps
  167. zoneinfo = /usr/share/zoneinfo
  168. terminfo = /usr/local/share/terminfo, /usr/share/terminfo
  169. bash-completion = /usr/share/bash-completion
  170. zsh-completion = /usr/share/zsh/site-functions, /usr/share/zsh/vendor-completion, /usr/share/zsh/functions/Completion/Debian, /usr/share/zsh/functions/Completion/Mandriva, /usr/share/zsh/functions/Completion/openSUSE, /usr/share/zsh/functions/Completion/Redhat
  171. firmware = /lib/firmware/updates/UTS_RELEASE, /lib/firmware/updates, /lib/firmware/UTS_RELEASE, /lib/firmware
  172. [cross-bin]
  173. bin = /usr/local/bin, /usr/local/sbin, /opt/bin, /opt/sbin, /usr/bin, /usr/sbin, /bin, /sbin, /usr/games, /usr/local/games, /snap/bin
  174. #
  175. # These programs are strongly related to the init system. If the stratum
  176. # providing init provides these commands, that version should take priority.
  177. # Typical Bedrock systems have /bedrock/pin/bin/ at the front of the $PATH.
  178. #
  179. pin/bin/systemctl = init:/usr/sbin/systemctl, init:/usr/bin/systemctl, init:/sbin/systemctl, init:/bin/systemctl
  180. pin/bin/rc-service = init:/usr/sbin/rc-service, init:/usr/bin/rc-service, init:/sbin/rc-service, init:/bin/rc-service
  181. pin/bin/rc-status = init:/usr/sbin/rc-status, init:/usr/bin/rc-status, init:/sbin/rc-status, init:/bin/rc-status
  182. pin/bin/rc-update = init:/usr/sbin/rc-update, init:/usr/bin/rc-update, init:/sbin/rc-update, init:/bin/rc-update
  183. pin/bin/rc-udevadm = init:/usr/sbin/rc-udevadm, init:/usr/bin/rc-udevadm, init:/sbin/rc-udevadm, init:/bin/rc-udevadm
  184. pin/bin/sv = init:/usr/sbin/sv, init:/usr/bin/sv, init:/sbin/sv, init:/bin/sv
  185. pin/bin/poweroff = init:/usr/sbin/poweroff, init:/sbin/poweroff, init:/usr/bin/poweroff, init:/bin/poweroff
  186. pin/bin/reboot = init:/usr/sbin/reboot, init:/sbin/reboot, init:/usr/bin/reboot, init:/bin/reboot
  187. pin/bin/shutdown = init:/usr/sbin/shutdown, init:/sbin/shutdown, init:/usr/bin/shutdown, init:/bin/shutdown
  188. pin/bin/halt = init:/usr/sbin/halt, init:/sbin/halt, init:/usr/bin/halt, init:/bin/halt
  189. # [restriction]/restrict items are only restricted if run through strat or
  190. # cross. List any such items here to ensure they are run through cross to be
  191. # restricted.
  192. #
  193. # If a local instance is available, that is preferred over crossing strata
  194. # boundaries, just in case there is some dependency on its specific quirks.
  195. # Ensure all items here use the local alias. If the item is not available
  196. # locally, the call will fall through to un-pinned `bin` above.
  197. pin/bin/apt-key = local:/usr/local/bin/apt-key, local:/usr/bin/apt-key
  198. pin/bin/debuild = local:/usr/local/bin/debuild, local:/usr/bin/debuild
  199. pin/bin/dpkg-buildpackage = local:/usr/local/bin/dpkg-buildpackage, local:/usr/bin/dpkg-buildpackage
  200. pin/bin/gdb = local:/usr/local/bin/gdb, local:/usr/bin/gdb
  201. pin/bin/git = local:/usr/local/bin/git, local:/usr/bin/git
  202. pin/bin/kiss = local:/usr/local/bin/kiss, local:/usr/bin/kiss
  203. pin/bin/makepkg = local:/usr/local/bin/makepkg, local:/usr/bin/makepkg
  204. pin/bin/rpmbuild = local:/usr/local/bin/rpmbuild, local:/usr/bin/rpmbuild
  205. [cross-ini]
  206. applications = /usr/local/share/applications, /usr/share/applications, /var/lib/flatpak/exports/share/applications
  207. xsessions = init:/usr/local/share/xsessions, init:/usr/share/xsessions, /usr/local/share/xsessions, /usr/share/xsessions
  208. dbus-system = /usr/share/dbus-1/system-services
  209. dbus-session = /usr/share/dbus-1/services
  210. [cross-font]
  211. fonts = /usr/share/fonts
  212. [pmm]
  213. user-interface = xbps
  214. priority = void:, arch:yay
  215. ignore-non-system-package-managers = false
  216. unprivileged-user = $SUDO_USER
  217. warn-about-skipping-package-managers = true
  218. cache-package-manager-list = true
  219. cache-package-database = true
  220. [brl-fetch-mirrors]
  221. mirror-prefix = https://ftp.fau.de
  222. alpine = http://uk.alpinelinux.org/alpine/
  223. [brl-update]
  224. mirrors = https://raw.githubusercontent.com/bedrocklinux/bedrocklinux-userland/0.7/releases, https://raw.githubusercontent.com/bedrocklinux/bedrocklinux-userland/0.7beta/releases
  225. [miscellaneous]
  226. cache-life = 30
  227. color = true