aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/bootstrap/bash-profile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-11-21 21:50:26 +0800
committercrupest <crupest@outlook.com>2023-11-21 21:50:26 +0800
commit92716031f0a2977642bf5f42b7d59784a7ac2db9 (patch)
treec6ed03449c9558ad1cccec5283b22de18c7d6bb0 /docker/debian-dev/bootstrap/bash-profile
parentb707256963c75c8e61509f5b339ad4a64edaa08a (diff)
downloadcrupest-92716031f0a2977642bf5f42b7d59784a7ac2db9.tar.gz
crupest-92716031f0a2977642bf5f42b7d59784a7ac2db9.tar.bz2
crupest-92716031f0a2977642bf5f42b7d59784a7ac2db9.zip
docker(debian-dev): now cross-compile with sbuild should work.
Diffstat (limited to 'docker/debian-dev/bootstrap/bash-profile')
-rw-r--r--docker/debian-dev/bootstrap/bash-profile/auto-start-apt-cacher.bash2
-rw-r--r--docker/debian-dev/bootstrap/bash-profile/dev.bash10
2 files changed, 2 insertions, 10 deletions
diff --git a/docker/debian-dev/bootstrap/bash-profile/auto-start-apt-cacher.bash b/docker/debian-dev/bootstrap/bash-profile/auto-start-apt-cacher.bash
new file mode 100644
index 0000000..f230cb1
--- /dev/null
+++ b/docker/debian-dev/bootstrap/bash-profile/auto-start-apt-cacher.bash
@@ -0,0 +1,2 @@
+echo "Start apt-cacher-ng if it does not start..."
+pgrep apt-cacher-ng || apt-cacher-ng
diff --git a/docker/debian-dev/bootstrap/bash-profile/dev.bash b/docker/debian-dev/bootstrap/bash-profile/dev.bash
index 48983fd..c49dc35 100644
--- a/docker/debian-dev/bootstrap/bash-profile/dev.bash
+++ b/docker/debian-dev/bootstrap/bash-profile/dev.bash
@@ -1,11 +1 @@
alias cp-no-git="rsync -a --exclude='**/.git'"
-
-alias apt-get-build-dep-arm64="apt-get build-dep -a arm64 --arch-only"
-alias apt-get-build-dep-indep="apt-get build-dep --indep-only"
-alias dpkg-buildpackage-build="dpkg-buildpackage -j$(nproc) -nc -b"
-alias dpkg-buildpackage-clean="dpkg-buildpackage -T clean"
-alias dpkg-buildpackage-arm64="CONFIG_SITE=/etc/dpkg-cross/cross-config.arm64 DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -aarm64 -Pcross,nocheck"
-alias dpkg-buildpackage-arm64-build="dpkg-buildpackage-arm64 -j$(nproc) -nc -T binary-arch"
-alias dpkg-buildpackage-arm64-clean="dpkg-buildpackage-arm64 -T clean"
-alias dpkg-buildpackage-indep-build="dpkg-buildpackage -j$(nproc) -nc -T binary-indep"
-