From 928c85aed43f292846f5418aea75e880b425bc5e Mon Sep 17 00:00:00 2001 From: madomado Date: Tue, 6 Feb 2024 16:56:21 +0800 Subject: [PATCH 1/2] add: nvidia-xconfig --- anda/system/nvidia-xconfig/anda.hcl | 15 +++++++++++++++ anda/system/nvidia-xconfig/commit.txt | 1 + anda/system/nvidia-xconfig/update.rhai | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 anda/system/nvidia-xconfig/anda.hcl create mode 100644 anda/system/nvidia-xconfig/commit.txt create mode 100644 anda/system/nvidia-xconfig/update.rhai diff --git a/anda/system/nvidia-xconfig/anda.hcl b/anda/system/nvidia-xconfig/anda.hcl new file mode 100644 index 0000000000..62d50e34b9 --- /dev/null +++ b/anda/system/nvidia-xconfig/anda.hcl @@ -0,0 +1,15 @@ +project pkg { + rpm { + spec = "" + enable_scm = true + + scm_opts = { + method = "git" + package = "nvidia-xconfig" + branch = "fedora-39" + write_tar = "true" + spec = "nvidia-xconfig.spec" + git_get = "git clone https://github.com/negativo17/nvidia-xconfig" + } + } +} diff --git a/anda/system/nvidia-xconfig/commit.txt b/anda/system/nvidia-xconfig/commit.txt new file mode 100644 index 0000000000..f9929eb0e3 --- /dev/null +++ b/anda/system/nvidia-xconfig/commit.txt @@ -0,0 +1 @@ +ff0602a79a75b4b062c5e948afbeecb97027b1de diff --git a/anda/system/nvidia-xconfig/update.rhai b/anda/system/nvidia-xconfig/update.rhai new file mode 100644 index 0000000000..37e1ff6486 --- /dev/null +++ b/anda/system/nvidia-xconfig/update.rhai @@ -0,0 +1,2 @@ +let commit = get("https://api.github.com/repos/negativo17/nvidia-xconfig/commits/HEAD").json().sha(); +open_file("anda/system/nvidia-xconfig/commit.txt").write(commit); From 89b3dd932c1ed167f8c947e2794660d35724d909 Mon Sep 17 00:00:00 2001 From: madomado Date: Wed, 7 Feb 2024 08:12:42 +0800 Subject: [PATCH 2/2] add `terra-` prefix --- anda/system/nvidia-xconfig/anda.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/system/nvidia-xconfig/anda.hcl b/anda/system/nvidia-xconfig/anda.hcl index 62d50e34b9..633f64e9b2 100644 --- a/anda/system/nvidia-xconfig/anda.hcl +++ b/anda/system/nvidia-xconfig/anda.hcl @@ -5,7 +5,7 @@ project pkg { scm_opts = { method = "git" - package = "nvidia-xconfig" + package = "terra-nvidia-xconfig" branch = "fedora-39" write_tar = "true" spec = "nvidia-xconfig.spec"