mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 14:24:18 +08:00
This matches the behavior of most UNIX systems and ensures that the disk doesn't eventually fills entirely with unused temporary files.
150 lines
2.0 KiB
TOML
150 lines
2.0 KiB
TOML
# Base configuration: This configuration is meant to be included by
|
|
# other configurations rather than use directly. It is the greatest
|
|
# common divisor of all other configurations and misses several
|
|
# parts necessary to create a bootable system.
|
|
|
|
# General settings
|
|
[general]
|
|
# Do not prompt if settings are not defined
|
|
prompt = false
|
|
|
|
[packages]
|
|
bootstrap = {}
|
|
escalated = {}
|
|
initfs = {}
|
|
ipcd = {}
|
|
kernel = {}
|
|
ptyd = {}
|
|
|
|
## Configuration files
|
|
[[files]]
|
|
path = "/etc/init.d/00_base"
|
|
data = """
|
|
# clear and recreate tmpdir with 0o1777 permission
|
|
rm -r /tmp
|
|
mkdir -m a=rwxt /tmp
|
|
|
|
ipcd
|
|
ptyd
|
|
escalated
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/hostname"
|
|
data = """
|
|
redox
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/redox-release"
|
|
data = "0.8.0"
|
|
|
|
## Symlinks for usrmerge
|
|
[[files]]
|
|
path = "/usr"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/usr/bin"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/bin"
|
|
data = "usr/bin"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/usr/include"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/include"
|
|
data = "usr/include"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/usr/lib"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/lib"
|
|
data = "usr/lib"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/usr/share"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/share"
|
|
data = "usr/share"
|
|
symlink = true
|
|
|
|
## Device file symlinks
|
|
[[files]]
|
|
path = "/dev/null"
|
|
data = "null:"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/random"
|
|
data = "rand:"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/urandom"
|
|
data = "rand:"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/zero"
|
|
data = "zero:"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/tty"
|
|
data = "libc:tty"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/stdin"
|
|
data = "libc:stdin"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/stdout"
|
|
data = "libc:stdout"
|
|
symlink = true
|
|
|
|
[[files]]
|
|
path = "/dev/stderr"
|
|
data = "libc:stderr"
|
|
symlink = true
|
|
|
|
# User settings
|
|
[users.root]
|
|
password = "password"
|
|
uid = 0
|
|
gid = 0
|
|
name = "root"
|
|
home = "/root"
|
|
|
|
[users.user]
|
|
# Password is unset
|
|
password = ""
|
|
|
|
# Group settings
|
|
[groups.sudo]
|
|
gid = 1
|
|
members = ["user"]
|