booster/main.sh
Ward Nakchbandi (Cosmic Fusion) b7388a20d6
2023-09-04 12:34:30 +03:00

23 lines
412 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
git clone https://github.com/anatol/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/