aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-11-13 13:46:32 +0800
committercrupest <crupest@outlook.com>2023-11-13 13:47:29 +0800
commita878e8b577ca7507d55064269bc34606ff010641 (patch)
tree66e03860758c614b95e2a2bd57f163cdbf4479e4
parentaffd45aa1fbb87c47d51483c24d4f2cb56b3ee7e (diff)
downloadcrupest-a878e8b577ca7507d55064269bc34606ff010641.tar.gz
crupest-a878e8b577ca7507d55064269bc34606ff010641.tar.bz2
crupest-a878e8b577ca7507d55064269bc34606ff010641.zip
(docker:debian-dev) Add arm64 aliases.
-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
-