booster/main.sh
2024-03-23 14:58:06 +00:00

23 lines
413 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# 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
# Get build deps
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/