From 3a70f113e24f94f0651bbc7df25ff3fe7d1e95dd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 8 Mar 2021 11:42:13 +0000 Subject: [PATCH 1/1] add sudo, remove systemd --- coriolis2-chroot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coriolis2-chroot b/coriolis2-chroot index 752a515..c26e922 100755 --- a/coriolis2-chroot +++ b/coriolis2-chroot @@ -40,6 +40,8 @@ qt4-dev-tools rapidjson-dev tcl tcl-dev tcl-tclreadline \ texlive texlive-fonts-extra texlive-lang-french \ texlive-latex-extra texlive-pictures xfig yosys zlib1g-dev +# yeah don't add systemd in a chroot. not funny joke +apt-get remove -y systemd # Create user with same UID in the chroot useradd -m -p `python -c 'import crypt; print crypt.crypt("1234","Fx")'` -s /bin/bash $SUDO_USER -k /etc/skel -- 2.30.2