From 686d6d62d2f8474ebaddca1c0723f9a04f2f3757 Mon Sep 17 00:00:00 2001 From: agnik Date: Fri, 4 Oct 2024 17:42:59 +0530 Subject: [PATCH] FINAL MAYBE --- fedora-build.sh | 4 ---- package_rpm.sh | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/fedora-build.sh b/fedora-build.sh index 16e9cc23..12d7e35b 100644 --- a/fedora-build.sh +++ b/fedora-build.sh @@ -45,7 +45,3 @@ ln -s /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_prover /us ln -s /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_verifier /usr/local/bin/cpu_air_verifier -# Copy the built binaries to the workspace directory -cp /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_prover /github/workspace/cpu_air_prover -cp /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_verifier /github/workspace/cpu_air_verifier - diff --git a/package_rpm.sh b/package_rpm.sh index ea097b45..559d978e 100644 --- a/package_rpm.sh +++ b/package_rpm.sh @@ -9,7 +9,7 @@ sudo dnf install -y ruby ruby-devel rubygems gcc make rpm-build sudo gem install --no-document fpm # Create a temporary directory for the package -mkdir -p /tmp/stone-prover/RPM + mkdir -p /tmp/stone-prover/usr/bin TAG=$1 @@ -23,7 +23,7 @@ fpm -s dir -t rpm \ -n stone-prover \ -v "$(echo $TAG | cut -c 2-)" \ -a "$(uname -m)" \ - -C /tmp/stone-prover \ + -C /tmp/stone-prover/stone-prover.rpm \ --prefix / \ --depends libdw1 \ --maintainer "Baking Bad " \