aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-11-21 18:48:08 +0800
committercrupest <crupest@outlook.com>2023-11-21 19:57:56 +0800
commitb707256963c75c8e61509f5b339ad4a64edaa08a (patch)
tree474b937518bac7e67dbc790edd378f72c8ddb5d6 /docker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash
parent31fd37e651d54af5ea8e4ef62fa95861c0c63242 (diff)
downloadcrupest-b707256963c75c8e61509f5b339ad4a64edaa08a.tar.gz
crupest-b707256963c75c8e61509f5b339ad4a64edaa08a.tar.bz2
crupest-b707256963c75c8e61509f5b339ad4a64edaa08a.zip
docker(debian-dev): try to fix sbuild.
Diffstat (limited to 'docker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash')
-rwxr-xr-xdocker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash b/docker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash
new file mode 100755
index 0000000..9ee08d1
--- /dev/null
+++ b/docker/debian-dev/bootstrap/sbuild/setup-sbuild-amd64.bash
@@ -0,0 +1,8 @@
+#! /usr/bin/env bash
+
+set -e
+
+SBUILD_ARCH="amd64"
+SBUILD_DIST="bullseye"
+
+sbuild-createchroot --include=eatmydata --command-prefix=eatmydata --arch=${SBUILD_ARCH} ${SBUILD_DIST} /srv/chroot/${SBUILD_DIST}-${SBUILD_ARCH}-sbuild "http://$(/bootstrap/apt-source/get-domain.bash)/debian"