kernel-pika/main.sh

25 lines
411 B
Bash
Raw Normal View History

2023-09-29 13:37:11 +02:00
#! /bin/bash
2024-07-25 12:39:42 +02:00
set -e
2024-11-22 20:20:32 +01:00
VERSION="3.16"
2024-07-25 12:39:42 +02:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-02-25 10:45:55 +01:00
# Clone Upstream
cd ./kernel-pika
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-25 12:39:42 +02:00
LOGNAME=root dh_make --createorig -y -l -p kernel-pika_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-09-29 13:37:11 +02:00
dpkg-buildpackage --no-sign
2023-02-25 10:45:55 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/