Use the new config include functionality for creating the base system files

This commit is contained in:
bjorn3 2024-01-04 15:31:44 +01:00
parent 3c6aa4fff9
commit d130e9f73c
30 changed files with 114 additions and 1303 deletions

View file

@ -1,5 +1,7 @@
# Minimal configuration
include = ["../base.toml"]
# General settings
[general]
# Filesystem size in MiB
@ -68,50 +70,3 @@ path = "/etc/hostname"
data = """
redox
"""
[[files]]
path = "/usr/bin"
data = "../bin"
symlink = true
[[files]]
path = "/usr/include"
data = "../include"
symlink = true
[[files]]
path = "/usr/lib"
data = "../lib"
symlink = true
[[files]]
path = "/usr/share"
data = "../share"
symlink = true
[[files]]
path = "/tmp"
data = ""
directory= true
# 0o1777
mode = 1023
[[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