generated from general-packages/pika-pkg-template
fix main
This commit is contained in:
parent
367604b4c2
commit
f813745447
2
.github/workflows/lto.yml
vendored
2
.github/workflows/lto.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: PikaOS Upstream Package Build & Release (amd64-v3 + LTO)
|
name: PikaOS Upstream Package Build & Release (amd64-v3 + LTO)
|
||||||
run-name: Building ${{ github.sha }}
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
2
.github/workflows/v3.yml
vendored
2
.github/workflows/v3.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: PikaOS Upstream Package Build & Release (amd64-v3)
|
name: PikaOS Upstream Package Build & Release (amd64-v3)
|
||||||
run-name: Building ${{ github.sha }}
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
8
main.sh
8
main.sh
@ -21,10 +21,16 @@ fi
|
|||||||
# Get build deps
|
# Get build deps
|
||||||
#LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
#LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||||
|
|
||||||
apt-get build-dep ./ -y
|
# Get build deps
|
||||||
|
apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
|
for i in ./*.dsc
|
||||||
|
do
|
||||||
|
dpkg-source -x $i
|
||||||
|
cd $(dpkg-source -x $i | grep "dpkg-source: info: extracting $1 in" | cut -d":" -f3 | sed -s "s/extracting $1 in/ /g")
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
|
done
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
cd ../
|
cd ../
|
||||||
|
Loading…
Reference in New Issue
Block a user