From 277516845716c9415b0494c5c5912aef798da250 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Wed, 24 Jul 2024 00:14:56 +0300 Subject: [PATCH] fix main --- .github/workflows/build-canaryi386.yml | 3 +++ .github/workflows/build-canaryv3.yml | 3 +++ .github/workflows/build-nesti386.yml | 3 +++ .github/workflows/build-nestv3.yml | 3 +++ .github/workflows/release-canaryi386.yml | 3 +++ .github/workflows/release-canaryv3.yml | 3 +++ .github/workflows/release-nesti386.yml | 3 +++ .github/workflows/release-nestv3.yml | 3 +++ maini386.sh | 4 +++- mainv3.sh | 4 +++- 10 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-canaryi386.yml b/.github/workflows/build-canaryi386.yml index 27c6068..bbcebda 100644 --- a/.github/workflows/build-canaryi386.yml +++ b/.github/workflows/build-canaryi386.yml @@ -30,5 +30,8 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./maini386.sh diff --git a/.github/workflows/build-canaryv3.yml b/.github/workflows/build-canaryv3.yml index 61fbee7..a6164ae 100644 --- a/.github/workflows/build-canaryv3.yml +++ b/.github/workflows/build-canaryv3.yml @@ -30,5 +30,8 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/.github/workflows/build-nesti386.yml b/.github/workflows/build-nesti386.yml index 23022bf..143ee7d 100644 --- a/.github/workflows/build-nesti386.yml +++ b/.github/workflows/build-nesti386.yml @@ -30,5 +30,8 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./maini386.sh diff --git a/.github/workflows/build-nestv3.yml b/.github/workflows/build-nestv3.yml index 0d013ba..352cca0 100644 --- a/.github/workflows/build-nestv3.yml +++ b/.github/workflows/build-nestv3.yml @@ -30,5 +30,8 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/.github/workflows/release-canaryi386.yml b/.github/workflows/release-canaryi386.yml index a4c3f5c..82964f8 100644 --- a/.github/workflows/release-canaryi386.yml +++ b/.github/workflows/release-canaryi386.yml @@ -30,6 +30,9 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./maini386.sh diff --git a/.github/workflows/release-canaryv3.yml b/.github/workflows/release-canaryv3.yml index 5b36604..763db72 100644 --- a/.github/workflows/release-canaryv3.yml +++ b/.github/workflows/release-canaryv3.yml @@ -30,6 +30,9 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/.github/workflows/release-nesti386.yml b/.github/workflows/release-nesti386.yml index 00292eb..96c8b36 100644 --- a/.github/workflows/release-nesti386.yml +++ b/.github/workflows/release-nesti386.yml @@ -30,6 +30,9 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./maini386.sh diff --git a/.github/workflows/release-nestv3.yml b/.github/workflows/release-nestv3.yml index 36a34fb..cbd3f5b 100644 --- a/.github/workflows/release-nestv3.yml +++ b/.github/workflows/release-nestv3.yml @@ -30,6 +30,9 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: replace + - name: Update APT Cache + run: apt-get update -y + - name: Build Package run: ./mainv3.sh diff --git a/maini386.sh b/maini386.sh index 216f033..acfeebe 100755 --- a/maini386.sh +++ b/maini386.sh @@ -1,5 +1,7 @@ #! /bin/bash +set -e + VERSION="0.0.12" export DEBIAN_FRONTEND="noninteractive" @@ -15,7 +17,7 @@ cd ./nvidia-vaapi-driver apt-get build-dep ./ -y # Build package -LOGNAME=root dh_make --createorig -y -l -p nvidia-vaapi-driver_"$VERSION" || echo "dh-make didn't go clean" +LOGNAME=root dh_make --createorig -y -l -p nvidia-vaapi-driver_"$VERSION" || echo "dh-make: Ignoring Last Error" dpkg-buildpackage --no-sign # Move the debs to output diff --git a/mainv3.sh b/mainv3.sh index d62629a..4049f4a 100755 --- a/mainv3.sh +++ b/mainv3.sh @@ -1,5 +1,7 @@ #! /bin/bash +set -e + VERSION="0.0.12" export DEBIAN_FRONTEND="noninteractive" @@ -20,7 +22,7 @@ cd ./nvidia-vaapi-driver apt-get build-dep ./ -y # Build package -LOGNAME=root dh_make --createorig -y -l -p nvidia-vaapi-driver_"$VERSION" || echo "dh-make didn't go clean" +LOGNAME=root dh_make --createorig -y -l -p nvidia-vaapi-version_"$VERSION" || echo "dh-make: Ignoring Last Error" dpkg-buildpackage --no-sign # Move the debs to output