This commit is contained in:
Ward from fusion-voyager-3 2024-07-24 00:14:54 +03:00
parent 73e607a803
commit 66bb94ec5c
5 changed files with 18 additions and 4 deletions

View File

@ -30,5 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -30,5 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package - name: Build Package
run: ./mainv3.sh run: ./mainv3.sh

View File

@ -1,7 +1,9 @@
#! /bin/bash #! /bin/bash
VERSION=$(date '+%Y%m%d') set -e
d
VERSION="$(date '+%Y%m%d').git"
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
@ -18,13 +20,13 @@ cp -rvf ./debian ./linux-firmware/
cp -rvf ./ath12k ./linux-firmware/ cp -rvf ./ath12k ./linux-firmware/
cd ./linux-firmware cd ./linux-firmware
touch debian/changelog touch debian/changelog
echo -e "linux-firmware ("$VERSION".git-101pika1) canary; urgency=medium\n\n * New Upstream Release\n\n -- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog echo -e "linux-firmware ("$VERSION"-101pika1) canary; urgency=medium\n\n * New Upstream Release\n\n -- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog
# Get build deps # Get build deps
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package
LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$VERSION".git || echo "dh-make didn't go clean" LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output