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 }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Build Package
run: ./mainv3.sh

View File

@ -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

View File

@ -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

View File

@ -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

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
* Update depends

6
debian/control vendored
View File

@ -9,20 +9,20 @@ Rules-Requires-Root: no
Package: booster
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
Conflicts: booster-temp
Description: booster initramfs generation
Package: booster-placeholder
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})
Description: PLACEHOLDER FOR ISO BUILDS DO NOT USE.
Package: booster-temp
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})
Replaces: 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
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
git clone https://github.com/ferrreo/booster.git
cd booster
cp -rvf ../debian ./
cp -f ../Makefile ./Makefile
cp -f ../booster.yml ./booster.yml
cp -f ../update-initramfs ./update-initramfs
cp -rvf ./debian ./booster/
cp -vf ./Makefile ./booster/
cp -vf ./booster.yml ./booster/
cp -vf ./update-initramfs ./booster/
cd ./booster
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p booster_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output