diff --git a/config/aarch64/acid.toml b/config/aarch64/acid.toml index 57c064a..5a51fa2 100644 --- a/config/aarch64/acid.toml +++ b/config/aarch64/acid.toml @@ -1,5 +1,7 @@ # Configuration for using acid +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -52,35 +54,3 @@ acid tls acid thread shutdown """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/demo.toml b/config/aarch64/demo.toml index 1f5e618..25e67d3 100644 --- a/config/aarch64/demo.toml +++ b/config/aarch64/demo.toml @@ -1,5 +1,7 @@ # Default demo configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -141,55 +143,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/desktop-minimal.toml b/config/aarch64/desktop-minimal.toml index a1b7554..122255b 100644 --- a/config/aarch64/desktop-minimal.toml +++ b/config/aarch64/desktop-minimal.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -80,55 +82,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/desktop.toml b/config/aarch64/desktop.toml index 740d128..1ca4502 100644 --- a/config/aarch64/desktop.toml +++ b/config/aarch64/desktop.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -141,55 +143,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/dev.toml b/config/aarch64/dev.toml index 83c5da4..008481b 100644 --- a/config/aarch64/dev.toml +++ b/config/aarch64/dev.toml @@ -1,5 +1,7 @@ # Configuration for development, includes cargo and rustc +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -162,55 +164,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/jeremy.toml b/config/aarch64/jeremy.toml index b298bfb..f9189d9 100644 --- a/config/aarch64/jeremy.toml +++ b/config/aarch64/jeremy.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -137,55 +139,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/raspi3bp/server-minimal.toml b/config/aarch64/raspi3bp/server-minimal.toml index f7d5be4..7920a51 100644 --- a/config/aarch64/raspi3bp/server-minimal.toml +++ b/config/aarch64/raspi3bp/server-minimal.toml @@ -1,5 +1,7 @@ # Minimal configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -68,55 +70,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/resist.toml b/config/aarch64/resist.toml index cb6674f..44a35ee 100644 --- a/config/aarch64/resist.toml +++ b/config/aarch64/resist.toml @@ -1,5 +1,7 @@ # Configuration for using resist +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -122,55 +124,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/server-minimal.toml b/config/aarch64/server-minimal.toml index 847c936..ff14421 100644 --- a/config/aarch64/server-minimal.toml +++ b/config/aarch64/server-minimal.toml @@ -1,5 +1,7 @@ # Minimal configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -67,55 +69,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/aarch64/server.toml b/config/aarch64/server.toml index 3dce6a8..790d1a7 100644 --- a/config/aarch64/server.toml +++ b/config/aarch64/server.toml @@ -1,5 +1,7 @@ # Default server configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -132,55 +134,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/base.toml b/config/base.toml new file mode 100644 index 0000000..8b6bffb --- /dev/null +++ b/config/base.toml @@ -0,0 +1,56 @@ +# 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 + +[[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 diff --git a/config/i686/acid.toml b/config/i686/acid.toml index 57c064a..5a51fa2 100644 --- a/config/i686/acid.toml +++ b/config/i686/acid.toml @@ -1,5 +1,7 @@ # Configuration for using acid +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -52,35 +54,3 @@ acid tls acid thread shutdown """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/i686/demo.toml b/config/i686/demo.toml index 9239213..39f9892 100644 --- a/config/i686/demo.toml +++ b/config/i686/demo.toml @@ -22,6 +22,8 @@ # # ############################################################################## +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -177,58 +179,6 @@ data = """ redox """ -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 - [[files]] path = "/home/user/Welcome.txt" data = """ diff --git a/config/i686/desktop-minimal.toml b/config/i686/desktop-minimal.toml index a1b7554..122255b 100644 --- a/config/i686/desktop-minimal.toml +++ b/config/i686/desktop-minimal.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -80,55 +82,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/i686/desktop.toml b/config/i686/desktop.toml index 8498613..a1a4bcb 100644 --- a/config/i686/desktop.toml +++ b/config/i686/desktop.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -142,55 +144,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/i686/dev.toml b/config/i686/dev.toml index 83c5da4..008481b 100644 --- a/config/i686/dev.toml +++ b/config/i686/dev.toml @@ -1,5 +1,7 @@ # Configuration for development, includes cargo and rustc +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -162,55 +164,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/i686/jeremy.toml b/config/i686/jeremy.toml index 73954b0..f43db12 100644 --- a/config/i686/jeremy.toml +++ b/config/i686/jeremy.toml @@ -1,5 +1,7 @@ # Jeremy's configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -170,58 +172,6 @@ data = """ redox """ -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 - [[files]] path = "/home/user/Welcome.txt" data = """ diff --git a/config/i686/resist.toml b/config/i686/resist.toml index cb6674f..44a35ee 100644 --- a/config/i686/resist.toml +++ b/config/i686/resist.toml @@ -1,5 +1,7 @@ # Configuration for using resist +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -122,55 +124,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/i686/server-minimal.toml b/config/i686/server-minimal.toml index 847c936..ff14421 100644 --- a/config/i686/server-minimal.toml +++ b/config/i686/server-minimal.toml @@ -1,5 +1,7 @@ # Minimal configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -67,55 +69,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/i686/server.toml b/config/i686/server.toml index 30c36bb..47b3cca 100644 --- a/config/i686/server.toml +++ b/config/i686/server.toml @@ -1,5 +1,7 @@ # Default server configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -128,55 +130,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/acid.toml b/config/x86_64/acid.toml index 57c064a..5a51fa2 100644 --- a/config/x86_64/acid.toml +++ b/config/x86_64/acid.toml @@ -1,5 +1,7 @@ # Configuration for using acid +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -52,35 +54,3 @@ acid tls acid thread shutdown """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/demo.toml b/config/x86_64/demo.toml index 77a6534..c7a5bd0 100644 --- a/config/x86_64/demo.toml +++ b/config/x86_64/demo.toml @@ -22,6 +22,8 @@ # # ############################################################################## +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -198,58 +200,6 @@ data = """ redox """ -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 - [[files]] path = "/home/user/Welcome.txt" data = """ diff --git a/config/x86_64/desktop-contain.toml b/config/x86_64/desktop-contain.toml index b3f96f6..d8112a1 100644 --- a/config/x86_64/desktop-contain.toml +++ b/config/x86_64/desktop-contain.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -143,58 +145,6 @@ data = """ redox """ -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 - [[files]] path = "/etc/contain.toml" data = """ diff --git a/config/x86_64/desktop-minimal.toml b/config/x86_64/desktop-minimal.toml index a1b7554..122255b 100644 --- a/config/x86_64/desktop-minimal.toml +++ b/config/x86_64/desktop-minimal.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -80,55 +82,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/desktop.toml b/config/x86_64/desktop.toml index 8498613..a1a4bcb 100644 --- a/config/x86_64/desktop.toml +++ b/config/x86_64/desktop.toml @@ -1,5 +1,7 @@ # Default desktop configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -142,55 +144,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/dev.toml b/config/x86_64/dev.toml index 83c5da4..008481b 100644 --- a/config/x86_64/dev.toml +++ b/config/x86_64/dev.toml @@ -1,5 +1,7 @@ # Configuration for development, includes cargo and rustc +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -162,55 +164,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/jeremy.toml b/config/x86_64/jeremy.toml index 45300d6..1c0199b 100644 --- a/config/x86_64/jeremy.toml +++ b/config/x86_64/jeremy.toml @@ -1,5 +1,7 @@ # Jeremy's configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -242,55 +244,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/resist.toml b/config/x86_64/resist.toml index cb6674f..44a35ee 100644 --- a/config/x86_64/resist.toml +++ b/config/x86_64/resist.toml @@ -1,5 +1,7 @@ # Configuration for using resist +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -122,55 +124,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/server-minimal.toml b/config/x86_64/server-minimal.toml index 847c936..ff14421 100644 --- a/config/x86_64/server-minimal.toml +++ b/config/x86_64/server-minimal.toml @@ -1,5 +1,7 @@ # Minimal configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -67,55 +69,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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 diff --git a/config/x86_64/server.toml b/config/x86_64/server.toml index 30c36bb..47b3cca 100644 --- a/config/x86_64/server.toml +++ b/config/x86_64/server.toml @@ -1,5 +1,7 @@ # Default server configuration +include = ["../base.toml"] + # General settings [general] # Filesystem size in MiB @@ -128,55 +130,3 @@ path = "/etc/hostname" data = """ redox """ - -[[files]] -path = "/usr/bin" -data = "../bin" -symlink = true - -[[files]] -path = "/usr/games" -data = "../games" -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