From ef0cc6bdf1e15ccdec857b976ff45d67e7299ccc Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 1 Feb 2025 21:25:05 -0800 Subject: [PATCH] Add: abuild (#3175) (#3181) * Add: abuild * fix spacing and add noarch (cherry picked from commit b0c9eb1d85421318ab5c863a4c836cd0cd55f355) Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/tools/abuild/abuild.spec | 25 +++++++++++++++++++++++++ anda/tools/abuild/anda.hcl | 6 ++++++ anda/tools/abuild/update.rhai | 1 + 3 files changed, 32 insertions(+) create mode 100644 anda/tools/abuild/abuild.spec create mode 100644 anda/tools/abuild/anda.hcl create mode 100644 anda/tools/abuild/update.rhai diff --git a/anda/tools/abuild/abuild.spec b/anda/tools/abuild/abuild.spec new file mode 100644 index 0000000000..28d368421f --- /dev/null +++ b/anda/tools/abuild/abuild.spec @@ -0,0 +1,25 @@ +Name: abuild +Version: 24.12 +Release: 1%?dist +Summary: coreboot autobuild script builds coreboot images for all available targets. +URL: https://doc.coreboot.org/util/abuild/index.html +License: GPLv2 +BuildRequires: git +BuildArch: noarch +Packager: Owen Zimmerman + +%description +%summary + +%prep +git clone https://review.coreboot.org/coreboot.git -b %version + +%install +install -Dm 777 coreboot/util/abuild/abuild %buildroot%_bindir/abuild + +%files +/usr/bin/abuild + +%changelog +* Sat Feb 01 2025 Owen Zimmerman +- Initial Package \ No newline at end of file diff --git a/anda/tools/abuild/anda.hcl b/anda/tools/abuild/anda.hcl new file mode 100644 index 0000000000..c03ce6e01d --- /dev/null +++ b/anda/tools/abuild/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "abuild.spec" + } +} \ No newline at end of file diff --git a/anda/tools/abuild/update.rhai b/anda/tools/abuild/update.rhai new file mode 100644 index 0000000000..24c1901edd --- /dev/null +++ b/anda/tools/abuild/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("coreboot/coreboot")); \ No newline at end of file