refind-btrfs/main.sh

27 lines
514 B
Bash
Raw Normal View History

2024-07-28 00:53:34 +02:00
#! /bin/bash
set -e
2024-10-19 17:57:01 +02:00
VERSION="0.6.3"
2024-07-28 00:53:34 +02:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-08 17:53:07 +01:00
# Clone Upstream
2024-07-28 00:53:34 +02:00
git clone https://github.com/Venom1991/refind-btrfs -b v"$VERSION"
2023-08-06 21:30:16 +02:00
cp -rvf ./debian ./refind-btrfs/
cd ./refind-btrfs
2023-03-08 17:53:07 +01:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-28 00:53:34 +02:00
LOGNAME=root dh_make --createorig -y -l -p refind-btrfs_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-05-24 17:11:09 +02:00
dpkg-buildpackage --no-sign
2023-03-08 17:53:07 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/