aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/bootstrap/setup-dev-tools.bash
blob: f2426aa77d8ae249b2f573f99270a39b8ac22136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/env bash

set -e

apt-get install -y build-essential git devscripts debhelper quilt \
    cpio kmod bc python bison flex rsync libelf-dev libssl-dev libncurses-dev dwarves

cat /bootstrap/bash-profile/dev.bash >> /root/.bash_profile
cat /bootstrap/bash-profile/dquilt.bash >> /root/.bash_profile

for f in /bootstrap/home-dot/*; do
    filename=$(basename "$f")
    cp "$f" "/root/.$filename"
done

if [[ "$BUILD_FOR_ARCH" == "arm64" ]]; then
    /bootstrap/setup-dev-tools-arm64.bash
fi