aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev
diff options
context:
space:
mode:
Diffstat (limited to 'docker/debian-dev')
-rw-r--r--docker/debian-dev/bootstrap/bash-profile/dev.bash2
-rwxr-xr-xdocker/debian-dev/bootstrap/setup-dev-tools.bash3
2 files changed, 4 insertions, 1 deletions
diff --git a/docker/debian-dev/bootstrap/bash-profile/dev.bash b/docker/debian-dev/bootstrap/bash-profile/dev.bash
new file mode 100644
index 0000000..7bc27f4
--- /dev/null
+++ b/docker/debian-dev/bootstrap/bash-profile/dev.bash
@@ -0,0 +1,2 @@
+alias apt-get-dep-build-arm64="apt-get build-dep -aarm64 --arch-only"
+alias dpkg-buildpackage-arm64="CONFIG_SITE=/etc/dpkg-cross/cross-config.arm64 DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -aarm64 -Pcross,nocheck"
diff --git a/docker/debian-dev/bootstrap/setup-dev-tools.bash b/docker/debian-dev/bootstrap/setup-dev-tools.bash
index f30deca..ee1be07 100755
--- a/docker/debian-dev/bootstrap/setup-dev-tools.bash
+++ b/docker/debian-dev/bootstrap/setup-dev-tools.bash
@@ -4,6 +4,7 @@ set -e
apt-get install -y build-essential devscripts debhelper quilt cpio kmod git bc python bison flex rsync libelf-dev libssl-dev libncurses-dev dwarves
+cat /bootstrap/bash-profile/dev.bash >> /root/.bash_profile
+
cp /bootstrap/quiltrc-dpkg /root/.quiltrc-dpkg
cat /bootstrap/bash-profile/dquilt.bash >> /root/.bash_profile
-