fix main
This commit is contained in:
parent
73e607a803
commit
66bb94ec5c
3
.github/workflows/build-canaryv3.yml
vendored
3
.github/workflows/build-canaryv3.yml
vendored
@ -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
|
||||
|
3
.github/workflows/build-nestv3.yml
vendored
3
.github/workflows/build-nestv3.yml
vendored
@ -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
|
||||
|
3
.github/workflows/release-canaryv3.yml
vendored
3
.github/workflows/release-canaryv3.yml
vendored
@ -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
|
||||
|
||||
|
3
.github/workflows/release-nestv3.yml
vendored
3
.github/workflows/release-nestv3.yml
vendored
@ -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
|
||||
|
||||
|
10
mainv3.sh
10
mainv3.sh
@ -1,7 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
VERSION=$(date '+%Y%m%d')
|
||||
d
|
||||
set -e
|
||||
|
||||
VERSION="$(date '+%Y%m%d').git"
|
||||
|
||||
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_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/
|
||||
cd ./linux-firmware
|
||||
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
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# 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
|
||||
|
||||
# Move the debs to output
|
||||
|
Loading…
Reference in New Issue
Block a user