From 049b1b260f72b41a06d1e706abf013ace634dbea Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 14 Sep 2021 17:02:04 +0100 Subject: [PATCH] oooo annoying, scroot refuses to go if done in wrong directory --- mk-deb-chroot | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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 -- 2.30.2