From 3b1d4ea97437c9dceaffc097f75497de29980f49 Mon Sep 17 00:00:00 2001 From: Sadoon Albader Date: Fri, 18 Aug 2023 15:17:14 +0300 Subject: [PATCH] Add script to create bookworm schroot --- mk-schroot-bookworm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mk-schroot-bookworm 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 + -- 2.30.2