Files
minideb/pre-build.sh
T
Tuna d655c817b4 update Makefile
- add stamp file
- add pattern target
2017-06-01 16:33:37 +07:00

14 lines
260 B
Bash
Executable File

#!/bin/bash
set -e
set -u
set -o pipefail
if [[ ! -f /etc/debian_version ]]; then
echo "minideb can currently only be built on debian based distros, aborting..."
exit 1
fi
apt-get update
apt-get install -y debootstrap debian-archive-keyring jq dpkg-dev