X-Git-Url: https://git.libre-soc.org/?p=dev-env-setup.git;a=blobdiff_plain;f=mk-deb-chroot;h=91b0a1e92c5b2abf464e8905362c8857ab323fdc;hp=19515712d9c0ce0c4ece768431c0d0205cd03c66;hb=8c6ec6194e671554641423f2bc01d304e75f0aae;hpb=39e3e17185a8325e56315f8d774278bd27671d57 diff --git a/mk-deb-chroot b/mk-deb-chroot index 1951571..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,9 +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 +python3-setuptools python3-dev # yeah systemd in a chroot? not very funny joke. apt-get remove -y systemd