diff --git a/recipes/core/initfs/recipe.toml b/recipes/core/initfs/recipe.toml index 4f721c8ef822484a14981503b86a770909dcd61a..4bc9f307f06d8e3e06666f84b2ffb6cd77f37380 100644 --- a/recipes/core/initfs/recipe.toml +++ b/recipes/core/initfs/recipe.toml @@ -7,7 +7,6 @@ dependencies = [ "drivers-initfs", "init", "logd", - "nulld", "ramfs", "randd", "redoxfs", diff --git a/recipes/core/nulld/recipe.toml b/recipes/core/nulld/recipe.toml deleted file mode 100644 index f9c725468f1b735859ca80f958522dd06b83cd79..0000000000000000000000000000000000000000 --- a/recipes/core/nulld/recipe.toml +++ /dev/null @@ -1,5 +0,0 @@ -[source] -git = "https://gitlab.redox-os.org/redox-os/nulld.git" - -[build] -template = "cargo" diff --git a/recipes/core/zerod/recipe.toml b/recipes/core/zerod/recipe.toml index 4606caf43fc22b76e2c3be607e2f25afb0d3c32c..be70616ff2b22aaad45ede007a9f76a3d0e72608 100644 --- a/recipes/core/zerod/recipe.toml +++ b/recipes/core/zerod/recipe.toml @@ -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" +"""