From c282bde1cc5281aa56095acf6c13a3eae5a7d599 Mon Sep 17 00:00:00 2001 From: auronandace Date: Sun, 3 Aug 2025 15:45:10 +0100 Subject: [PATCH 1/3] add os-test recipe --- recipes/tests/os-test/recipe.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes/tests/os-test/recipe.toml diff --git a/recipes/tests/os-test/recipe.toml b/recipes/tests/os-test/recipe.toml new file mode 100644 index 00000000..08de2969 --- /dev/null +++ b/recipes/tests/os-test/recipe.toml @@ -0,0 +1,18 @@ +[source] +git = "https://gitlab.com/sortix/os-test" + +[build] +template = "custom" +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +mkdir -pv "${COOKBOOK_STAGE}/share/os-test" +rsync -av --delete . "${COOKBOOK_STAGE}/share/os-test" +""" + +[package] +dependencies = [ + "gnu-binutils", + "gnu-make", + "gcc13", + "libarchive" +] From 464bc977b49994ce35913ce61e50c6fabbde1466 Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 4 Aug 2025 16:33:10 +0100 Subject: [PATCH 2/3] use cp instead of rsync --- recipes/tests/os-test/recipe.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/tests/os-test/recipe.toml b/recipes/tests/os-test/recipe.toml index 08de2969..db277136 100644 --- a/recipes/tests/os-test/recipe.toml +++ b/recipes/tests/os-test/recipe.toml @@ -4,9 +4,8 @@ git = "https://gitlab.com/sortix/os-test" [build] template = "custom" script = """ -rsync -av --delete "${COOKBOOK_SOURCE}/" ./ mkdir -pv "${COOKBOOK_STAGE}/share/os-test" -rsync -av --delete . "${COOKBOOK_STAGE}/share/os-test" +cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/share/os-test" """ [package] From db7d763fe694fcf1f3086e333e100a1115682402 Mon Sep 17 00:00:00 2001 From: Mathew John Roberts Date: Fri, 15 Aug 2025 07:56:56 +0100 Subject: [PATCH 3/3] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Ribbon --- recipes/tests/os-test/recipe.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/tests/os-test/recipe.toml b/recipes/tests/os-test/recipe.toml index db277136..59467c20 100644 --- a/recipes/tests/os-test/recipe.toml +++ b/recipes/tests/os-test/recipe.toml @@ -13,5 +13,5 @@ dependencies = [ "gnu-binutils", "gnu-make", "gcc13", - "libarchive" + "libarchive", ]