This commit is contained in:
Ward from fusion-voyager-3 2024-07-24 00:14:51 +03:00
parent 340d3de09d
commit f614ba8614
8 changed files with 39 additions and 11 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

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
booster (0.11.3.ferreogit-101pika1) pika; urgency=medium
* Update depends
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
booster (0.11.3.git-101pika1) pika; urgency=medium booster (0.11.3.git-101pika1) pika; urgency=medium
* Update depends * Update depends

6
debian/control vendored
View File

@ -9,20 +9,20 @@ Rules-Requires-Root: no
Package: booster Package: booster
Architecture: linux-any Architecture: linux-any
Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, console-data, lvm2, pciutils Depends: ${misc:Depends}, ${shlibs:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, console-data, lvm2, pciutils
Replaces: booster-temp Replaces: booster-temp
Conflicts: booster-temp Conflicts: booster-temp
Description: booster initramfs generation Description: booster initramfs generation
Package: booster-placeholder Package: booster-placeholder
Architecture: linux-any Architecture: linux-any
Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, pciutils Depends: ${misc:Depends}, ${shlibs:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, pciutils
Provides: booster (= ${binary:Version}) Provides: booster (= ${binary:Version})
Description: PLACEHOLDER FOR ISO BUILDS DO NOT USE. Description: PLACEHOLDER FOR ISO BUILDS DO NOT USE.
Package: booster-temp Package: booster-temp
Architecture: linux-any Architecture: linux-any
Depends: ${misc:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, pciutils Depends: ${misc:Depends}, ${shlibs:Depends}, libdevmapper-dev, libdevmapper-event1.02.1, libdevmapper1.02.1, busybox, pciutils
Provides: booster (= ${binary:Version}) Provides: booster (= ${binary:Version})
Replaces: booster Replaces: booster
Conflicts: booster Conflicts: booster

View File

@ -1,2 +0,0 @@
#! /bin/sh
env | grep -w "PWD" | cut -c5-

View File

@ -1,19 +1,31 @@
#! /bin/bash #! /bin/bash
DEBIAN_FRONTEND=noninteractive set -e
VERSION="0.11.3.ferreogit"
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"
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
# Clone Upstream # Clone Upstream
git clone https://github.com/ferrreo/booster.git git clone https://github.com/ferrreo/booster.git
cd booster cp -rvf ./debian ./booster/
cp -rvf ../debian ./ cp -vf ./Makefile ./booster/
cp -f ../Makefile ./Makefile cp -vf ./booster.yml ./booster/
cp -f ../booster.yml ./booster.yml cp -vf ./update-initramfs ./booster/
cp -f ../update-initramfs ./update-initramfs cd ./booster
# 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 booster_"$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