From a878e8b577ca7507d55064269bc34606ff010641 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 13 Nov 2023 13:46:32 +0800 Subject: (docker:debian-dev) Add arm64 aliases. --- docker/debian-dev/bootstrap/bash-profile/dev.bash | 2 ++ docker/debian-dev/bootstrap/setup-dev-tools.bash | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 docker/debian-dev/bootstrap/bash-profile/dev.bash (limited to 'docker/debian-dev/bootstrap') 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 - -- cgit v1.2.3