Use templates for acid, desktop-minimal, resist, server-minimal
This commit is contained in:
parent
0427420717
commit
0b737f0a0f
|
@ -1,41 +1,3 @@
|
|||
# Configuration for using acid
|
||||
|
||||
include = ["../base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bootloader = {}
|
||||
acid = {}
|
||||
coreutils = {}
|
||||
# TODO: Does this need escalated?
|
||||
escalated = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
ptyd = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_acid"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
acid
|
||||
acid create_test
|
||||
acid switch
|
||||
acid tls
|
||||
acid thread
|
||||
shutdown
|
||||
"""
|
||||
include = ["../acid.toml"]
|
||||
|
|
|
@ -1,51 +1,3 @@
|
|||
# Default desktop configuration
|
||||
|
||||
include = ["../base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
coreutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
orbdata = {}
|
||||
orbital = {}
|
||||
orbterm = {}
|
||||
orbutils-background = {}
|
||||
orbutils-launcher = {}
|
||||
orbutils-orblogin = {}
|
||||
ptyd = {}
|
||||
smith = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_orbital"
|
||||
data = """
|
||||
orbital orblogin launcher
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/30_console"
|
||||
data = """
|
||||
getty 2
|
||||
getty debug: -J
|
||||
"""
|
||||
include = ["../desktop-minimal.toml"]
|
||||
|
|
|
@ -6,6 +6,5 @@ include = ["../../server-minimal.toml"]
|
|||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
# EFI partition size in MiB
|
||||
efi_partition_size = 128
|
||||
|
|
|
@ -1,62 +1,3 @@
|
|||
# Configuration for using resist
|
||||
|
||||
include = ["../net.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bash = {}
|
||||
bootloader = {}
|
||||
coreutils = {}
|
||||
diffutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
findutils = {}
|
||||
gcc13 = {}
|
||||
gnu-binutils = {}
|
||||
gnu-make = {}
|
||||
ipcd = {}
|
||||
netdb = {}
|
||||
ptyd = {}
|
||||
resist = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
# Override to not background dhcpd
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_net"
|
||||
data = """
|
||||
smolnetd
|
||||
dnsd
|
||||
dhcpd
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_resist"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
resist /share/resist/redox/spec.toml
|
||||
resist /share/resist/posix/base.toml
|
||||
resist /share/resist/posix/shell.toml
|
||||
shutdown
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/pkg.d/50_redox"
|
||||
data = "https://static.redox-os.org/pkg"
|
||||
include = ["../resist.toml"]
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
# Minimal configuration
|
||||
|
||||
include = ["../server-minimal.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
|
39
config/acid.toml
Normal file
39
config/acid.toml
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Configuration for using acid
|
||||
|
||||
include = ["base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bootloader = {}
|
||||
acid = {}
|
||||
coreutils = {}
|
||||
# TODO: Does this need escalated?
|
||||
escalated = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
ptyd = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_acid"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
acid
|
||||
acid create_test
|
||||
acid switch
|
||||
acid tls
|
||||
acid thread
|
||||
shutdown
|
||||
"""
|
49
config/desktop-minimal.toml
Normal file
49
config/desktop-minimal.toml
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Default desktop configuration
|
||||
|
||||
include = ["base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
coreutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
orbdata = {}
|
||||
orbital = {}
|
||||
orbterm = {}
|
||||
orbutils-background = {}
|
||||
orbutils-launcher = {}
|
||||
orbutils-orblogin = {}
|
||||
ptyd = {}
|
||||
smith = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_orbital"
|
||||
data = """
|
||||
orbital orblogin launcher
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/30_console"
|
||||
data = """
|
||||
getty 2
|
||||
getty debug: -J
|
||||
"""
|
|
@ -1,41 +1,3 @@
|
|||
# Configuration for using acid
|
||||
|
||||
include = ["../base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bootloader = {}
|
||||
acid = {}
|
||||
coreutils = {}
|
||||
# TODO: Does this need escalated?
|
||||
escalated = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
ptyd = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_acid"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
acid
|
||||
acid create_test
|
||||
acid switch
|
||||
acid tls
|
||||
acid thread
|
||||
shutdown
|
||||
"""
|
||||
include = ["../acid.toml"]
|
||||
|
|
|
@ -1,51 +1,3 @@
|
|||
# Default desktop configuration
|
||||
|
||||
include = ["../base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
coreutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
orbdata = {}
|
||||
orbital = {}
|
||||
orbterm = {}
|
||||
orbutils-background = {}
|
||||
orbutils-launcher = {}
|
||||
orbutils-orblogin = {}
|
||||
ptyd = {}
|
||||
smith = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_orbital"
|
||||
data = """
|
||||
orbital orblogin launcher
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/30_console"
|
||||
data = """
|
||||
getty 2
|
||||
getty debug: -J
|
||||
"""
|
||||
include = ["../desktop-minimal.toml"]
|
||||
|
|
|
@ -1,62 +1,3 @@
|
|||
# Configuration for using resist
|
||||
|
||||
include = ["../net.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bash = {}
|
||||
bootloader = {}
|
||||
coreutils = {}
|
||||
diffutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
findutils = {}
|
||||
gcc13 = {}
|
||||
gnu-binutils = {}
|
||||
gnu-make = {}
|
||||
ipcd = {}
|
||||
netdb = {}
|
||||
ptyd = {}
|
||||
resist = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
# Override to not background dhcpd
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_net"
|
||||
data = """
|
||||
smolnetd
|
||||
dnsd
|
||||
dhcpd
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_resist"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
resist /share/resist/redox/spec.toml
|
||||
resist /share/resist/posix/base.toml
|
||||
resist /share/resist/posix/shell.toml
|
||||
shutdown
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/pkg.d/50_redox"
|
||||
data = "https://static.redox-os.org/pkg"
|
||||
include = ["../resist.toml"]
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
# Minimal configuration
|
||||
|
||||
include = ["../server-minimal.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
|
||||
include = ["base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
## Network packages
|
||||
[packages]
|
||||
netstack = {}
|
||||
|
|
60
config/resist.toml
Normal file
60
config/resist.toml
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Configuration for using resist
|
||||
|
||||
include = ["net.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bash = {}
|
||||
bootloader = {}
|
||||
coreutils = {}
|
||||
diffutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
findutils = {}
|
||||
gcc13 = {}
|
||||
gnu-binutils = {}
|
||||
gnu-make = {}
|
||||
ipcd = {}
|
||||
netdb = {}
|
||||
ptyd = {}
|
||||
resist = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
# Override to not background dhcpd
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_net"
|
||||
data = """
|
||||
smolnetd
|
||||
dnsd
|
||||
dhcpd
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_resist"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
resist /share/resist/redox/spec.toml
|
||||
resist /share/resist/posix/base.toml
|
||||
resist /share/resist/posix/shell.toml
|
||||
shutdown
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/pkg.d/50_redox"
|
||||
data = "https://static.redox-os.org/pkg"
|
|
@ -4,8 +4,8 @@ include = ["base.toml"]
|
|||
|
||||
# General settings
|
||||
[general]
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
|
|
|
@ -1,41 +1,3 @@
|
|||
# Configuration for using acid
|
||||
|
||||
include = ["../base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bootloader = {}
|
||||
acid = {}
|
||||
coreutils = {}
|
||||
# TODO: Does this need escalated?
|
||||
escalated = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
ptyd = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_acid"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
acid
|
||||
acid create_test
|
||||
acid switch
|
||||
acid tls
|
||||
acid thread
|
||||
shutdown
|
||||
"""
|
||||
include = ["../acid.toml"]
|
||||
|
|
|
@ -1,51 +1,3 @@
|
|||
# Default desktop configuration
|
||||
|
||||
include = ["../base.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
coreutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
ion = {}
|
||||
ipcd = {}
|
||||
orbdata = {}
|
||||
orbital = {}
|
||||
orbterm = {}
|
||||
orbutils-background = {}
|
||||
orbutils-launcher = {}
|
||||
orbutils-orblogin = {}
|
||||
ptyd = {}
|
||||
smith = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_orbital"
|
||||
data = """
|
||||
orbital orblogin launcher
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/30_console"
|
||||
data = """
|
||||
getty 2
|
||||
getty debug: -J
|
||||
"""
|
||||
include = ["../desktop-minimal.toml"]
|
||||
|
|
|
@ -1,62 +1,3 @@
|
|||
# Configuration for using resist
|
||||
|
||||
include = ["../net.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 256
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
||||
# Package settings
|
||||
[packages]
|
||||
bash = {}
|
||||
bootloader = {}
|
||||
coreutils = {}
|
||||
diffutils = {}
|
||||
drivers = {}
|
||||
escalated = {}
|
||||
extrautils = {}
|
||||
findutils = {}
|
||||
gcc13 = {}
|
||||
gnu-binutils = {}
|
||||
gnu-make = {}
|
||||
ipcd = {}
|
||||
netdb = {}
|
||||
ptyd = {}
|
||||
resist = {}
|
||||
userutils = {}
|
||||
uutils = {}
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/00_base"
|
||||
data = """
|
||||
ipcd
|
||||
ptyd
|
||||
pcid /etc/pcid.d/
|
||||
escalated
|
||||
"""
|
||||
|
||||
# Override to not background dhcpd
|
||||
[[files]]
|
||||
path = "/etc/init.d/10_net"
|
||||
data = """
|
||||
smolnetd
|
||||
dnsd
|
||||
dhcpd
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/init.d/20_resist"
|
||||
data = """
|
||||
export RUST_BACKTRACE full
|
||||
resist /share/resist/redox/spec.toml
|
||||
resist /share/resist/posix/base.toml
|
||||
resist /share/resist/posix/shell.toml
|
||||
shutdown
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/etc/pkg.d/50_redox"
|
||||
data = "https://static.redox-os.org/pkg"
|
||||
include = ["../resist.toml"]
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
# Minimal configuration
|
||||
|
||||
include = ["../server-minimal.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
# Filesystem size in MiB
|
||||
filesystem_size = 128
|
||||
# Do not prompt if settings are not defined
|
||||
prompt = false
|
||||
|
|
Loading…
Reference in a new issue