From: Sadoon Albader Date: Fri, 18 Aug 2023 12:18:04 +0000 (+0300) Subject: Add script to create sffs chroot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=543d2ce572ac8f693d5d87913047d7cc37920dbc;p=dev-env-setup.git Add script to create sffs chroot --- diff --git a/mk-sffs-chroot b/mk-sffs-chroot new file mode 100644 index 0000000..f32f116 --- /dev/null +++ b/mk-sffs-chroot @@ -0,0 +1,15 @@ +#!/bin/bash + +echo "SCRIPT IS STILL WIP, DO NOT RUN" + +if [ "$EUID" -ne 0 ] + then echo "Please run as root" + exit +fi + +REPODIR=/home/$LOGNAME/.local/src/bookworm-sffs/repo/ +RELEASE=bookworm +CHROOT=/opt/chroot/$RELEASE-sffs/ +OPTS=--no-check-gpg --no-check-certificate + +debootstrap $RELEASE $CHROOT file://$REPODIR $OPTS