fix main
This commit is contained in:
parent
340d3de09d
commit
f614ba8614
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
|
||||
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
6
debian/control
vendored
@ -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
|
||||
|
2
debian/scripts/get_pwd.sh
vendored
2
debian/scripts/get_pwd.sh
vendored
@ -1,2 +0,0 @@
|
||||
#! /bin/sh
|
||||
env | grep -w "PWD" | cut -c5-
|
24
mainv3.sh
24
mainv3.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user