aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-11-01 20:58:53 +0800
committercrupest <crupest@outlook.com>2023-11-13 13:47:29 +0800
commit2874252539213022b84d8d32d21c4f701aefff7a (patch)
treec1fe9da21946bff55aad42d37b5a954fc3e10309
parent606f374c7bccdbfe443542dc53ef55a54c487406 (diff)
downloadcrupest-2874252539213022b84d8d32d21c4f701aefff7a.tar.gz
crupest-2874252539213022b84d8d32d21c4f701aefff7a.tar.bz2
crupest-2874252539213022b84d8d32d21c4f701aefff7a.zip
(docker:debian-dev) fix bugs and add cp-no-git.
-rw-r--r--[-rwxr-xr-x]docker/debian-dev/bootstrap/bash-profile/bash-completion.bash0
-rw-r--r--docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash2
-rw-r--r--[-rwxr-xr-x]docker/debian-dev/bootstrap/bash-profile/dquilt.bash1
-rwxr-xr-xdocker/debian-dev/bootstrap/setup-base.bash3
-rwxr-xr-xdocker/debian-dev/bootstrap/setup-dev-tools.bash2
5 files changed, 6 insertions, 2 deletions
diff --git a/docker/debian-dev/bootstrap/bash-profile/bash-completion.bash b/docker/debian-dev/bootstrap/bash-profile/bash-completion.bash
index 75f8333..75f8333 100755..100644
--- a/docker/debian-dev/bootstrap/bash-profile/bash-completion.bash
+++ b/docker/debian-dev/bootstrap/bash-profile/bash-completion.bash
diff --git a/docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash b/docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash
new file mode 100644
index 0000000..46debeb
--- /dev/null
+++ b/docker/debian-dev/bootstrap/bash-profile/cp-no-git.bash
@@ -0,0 +1,2 @@
+alias cp-no-git="rsync --exclude='.git'"
+
diff --git a/docker/debian-dev/bootstrap/bash-profile/dquilt.bash b/docker/debian-dev/bootstrap/bash-profile/dquilt.bash
index a0a469b..96a4eb2 100755..100644
--- a/docker/debian-dev/bootstrap/bash-profile/dquilt.bash
+++ b/docker/debian-dev/bootstrap/bash-profile/dquilt.bash
@@ -1,3 +1,4 @@
alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
. /usr/share/bash-completion/completions/quilt
complete -F _quilt_completion $_quilt_complete_opt dquilt
+
diff --git a/docker/debian-dev/bootstrap/setup-base.bash b/docker/debian-dev/bootstrap/setup-base.bash
index d94b92f..15328ab 100755
--- a/docker/debian-dev/bootstrap/setup-base.bash
+++ b/docker/debian-dev/bootstrap/setup-base.bash
@@ -2,7 +2,8 @@
set -e
-apt-get install -y vim less man curl bash-completion
+apt-get install -y vim less man curl bash-completion rsync
cat /bootstrap/bash-profile/bash-completion.bash >> /root/.bash_profile
+cat /bootstrap/bash-profile/cp-no-git.bash >> /root/.bash_profile
diff --git a/docker/debian-dev/bootstrap/setup-dev-tools.bash b/docker/debian-dev/bootstrap/setup-dev-tools.bash
index e66cf94..a8fa9d1 100755
--- a/docker/debian-dev/bootstrap/setup-dev-tools.bash
+++ b/docker/debian-dev/bootstrap/setup-dev-tools.bash
@@ -4,6 +4,6 @@ set -e
apt-get install -y build-essential debhelper quilt cpio kmod git bc python bison flex rsync libelf-dev libssl-dev libncurses-dev dwarves
-cp /boostrap/quiltrc-dpkg /root/.quiltrc-dpkg
+cp /bootstrap/quiltrc-dpkg /root/.quiltrc-dpkg
cat /bootstrap/bash-profile/dquilt.bash >> /root/.bash_profile