Merge nulld and zerod.

This commit is contained in:
4lDO2 2023-11-16 14:12:42 +01:00
parent 7fa28704f5
commit 5c45e5c280
No known key found for this signature in database
GPG Key ID: 996A1DBA676A00C0
3 changed files with 9 additions and 7 deletions

View File

@ -7,7 +7,6 @@ dependencies = [
"drivers-initfs",
"init",
"logd",
"nulld",
"ramfs",
"randd",
"redoxfs",

View File

@ -1,5 +0,0 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/nulld.git"
[build]
template = "cargo"

View File

@ -2,4 +2,12 @@
git = "https://gitlab.redox-os.org/redox-os/zerod.git"
[build]
template = "cargo"
template = "custom"
script = """
cookbook_cargo --bin zerod
# TODO: symlinks aren't supported by redox-initfs
#ln -sv zerod "${COOKBOOK_STAGE}/bin/nulld"
cp "${COOKBOOK_STAGE}/bin/zerod" "${COOKBOOK_STAGE}/bin/nulld"
"""