From: Sadoon Albader Date: Fri, 18 Aug 2023 12:17:14 +0000 (+0300) Subject: Add script to create bookworm schroot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b1d4ea97437c9dceaffc097f75497de29980f49;p=dev-env-setup.git Add script to create bookworm schroot --- diff --git a/mk-schroot-bookworm b/mk-schroot-bookworm new file mode 100644 index 0000000..e660052 --- /dev/null +++ b/mk-schroot-bookworm @@ -0,0 +1,18 @@ +#!/bin/bash + +echo "SCRIPT IS STILL WIP, DO NOT RUN" + +if [ "$EUID" -ne 0 ] + then echo "Please run as root" + exit +fi + +# These can be changed to fit your setup without harming the process +SCHROOT_DIR=/srv/chroot/bookworm-ppc64el-sbuild +DEBMIRROR=ftp.us.debian.org + +# This should not be changed until we want to build a future release +RELEASE=bookworm + +sbuild-createchroot --include=eatmydata,ccache $RELEASE $SCHROOT_DIR http://127.0.0.1:3142/$DEBMIRROR/debian +