From 8c6ec6194e671554641423f2bc01d304e75f0aae Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 2 May 2021 05:51:02 +0100 Subject: [PATCH] nope, correct EOF, sort out apt-get install dependencies --- coriolis2-chroot | 1 + mk-deb-chroot | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/coriolis2-chroot b/coriolis2-chroot index 0f34998..a21f023 100755 --- a/coriolis2-chroot +++ b/coriolis2-chroot @@ -30,6 +30,7 @@ echo Installing necessary apt dependencies in the chroot apt-get update -y apt-get upgrade -y apt-get install -y automake binutils-dev bison build-essential \ +sysvinit-utils sysvinit-core \ ccache clang cmake doxygen dvipng flex gcc git graphviz \ imagemagick libboost-all-dev libboost-python-dev libbz2-dev \ libmpfr-dev libgmp-dev libmotif-dev libreadline-dev \ diff --git a/mk-deb-chroot b/mk-deb-chroot index 7a404e6..91b0a1e 100755 --- a/mk-deb-chroot +++ b/mk-deb-chroot @@ -31,6 +31,7 @@ mount /opt/chroot/$chrootdir/proc mount /opt/chroot/$chrootdir/sys mount /opt/chroot/$chrootdir/tmp echo "$chrootdir" > /opt/chroot/$chrootdir/etc/debian_chroot + # Install apt dependencies in the chroot chroot /opt/chroot/$chrootdir /bin/bash << EOF echo Installing necessary apt dependencies in the chroot @@ -39,10 +40,11 @@ apt-get upgrade -y apt-get install -y automake binutils-dev build-essential \ ccache cmake gcc git \ libtool \ +sysvinit-core \ +sysvinit-utils \ sudo \ python3 python3-pip \ -python3-setuptools python-dev -EOF +python3-setuptools python3-dev # yeah systemd in a chroot? not very funny joke. apt-get remove -y systemd -- 2.30.2