os-build-system/config

113 lines
1.8 KiB
Bash

#!/usr/bin/env zsh
blend_name="decode"
blend_vers="0.1"
image_name="${blend_name}-${blend_vers}-${arch}"
vm_name="${blend_name}-${blend_vers}-${arch}"
tomb_version="v2.4"
tomb_url="https://github.com/dyne/tomb.git"
musl_version="v.1.1.18"
musl_url="git://git.musl-libc.org/musl"
netdata_version="1.9.0"
netdata_url="https://github.com/firehol/netdata/releases/download/v${netdata_version}/netdata-${netdata_version}.tar.gz"
stem_version="1.6.0"
stem_url="https://git.torproject.org/stem.git"
tordam_url="github.com/decodeproject/tor-dam/..."
zenroom_url="https://sdk.dyne.org:4443/view/decode/job/zenroom-static-${arch}/lastSuccessfulBuild/artifact/src/zenroom-static"
golang_url="https://sdk.dyne.org:4443/job/go-binaries/lastBuild/architecture=${arch}/artifact/go.${arch}.tar.gz"
zulujava_url="http://cdn.azul.com/zulu-embedded/bin/ezdk-1.8.0_152-8.25.0.76-eval-linux_aarch32hf.tar.gz"
chainspace_url="https://github.com/chainspace/chainspace"
size="4098"
filesystem="btrfs"
TAR_STAGE4=true
[[ -n "$vmsdk_version" ]] && extra_packages+=(default-jre-headless)
extra_packages+=(
openrc
eudev
zsh
tmux
curl
cryptsetup
openssh-server
psmisc
btrfs-progs
openssh-client
gnupg2
dirmngr
pcsc-tools
tor
redis-tools
redis-server
paxctl
net-tools
apt-transport-tor
apt-transport-https
python2.7
python3
# minimalism
busybox-static
# utilities
mlocate
gettext
miscfiles
# troubleshooting
lsof
htop
iftop
iotop
strace
# build tools
build-essential
cmake
pkg-config
zlib1g-dev
uuid-dev
autoconf
automake
libtool
gcc-6-plugin-dev
libncurses5-dev
flex
libbison-dev
libtool-bin
libtool
libssl-dev
libgcrypt20
libgcrypt20-dev
equivs
)
purge_packages=(
dbus
elogind
gnome-icon-theme
sysv-rc
)
finalize_purge_packages=(
#autoconf
#automake
#flex
#equivs
)