From: Luke Kenneth Casson Leighton Date: Tue, 14 Sep 2021 16:02:04 +0000 (+0100) Subject: oooo annoying, scroot refuses to go if done in wrong directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049b1b260f72b41a06d1e706abf013ace634dbea;p=dev-env-setup.git oooo annoying, scroot refuses to go if done in wrong directory --- diff --git a/mk-deb-chroot b/mk-deb-chroot index 526c26c..1c67729 100755 --- a/mk-deb-chroot +++ b/mk-deb-chroot @@ -111,19 +111,19 @@ fi # Install apt dependencies in the chroot cd /tmp -schroot -c $chrootdir /bin/bash << EOF +schroot -c $chrootdir /bin/bash --directory=/tmp << EOF echo Installing necessary apt dependencies in the chroot apt-get update -y apt-get upgrade -y apt-get install -y automake binutils-dev build-essential \ -ccache cmake gcc git \ -libtool \ -sysvinit-core \ -sysvinit-utils \ -sudo \ -python2.7 \ -python3 python3-pip \ -python3-setuptools python3-dev + ccache cmake gcc git \ + libtool \ + sysvinit-core \ + sysvinit-utils \ + sudo \ + python2.7 \ + python3 python3-pip \ + python3-setuptools python3-dev # yeah systemd in a chroot? not very funny joke. apt-get remove -y systemd