mount -t devpts devpts $MY_CHROOT/dev/pts/
chroot $MY_CHROOT /bin/bash
-## Add Buster Backports Repo and Update
-
-""buster backports is needed for cmake""
-
- cat << EOF > /etc/apt/sources.list.d/buster_backports.list
- deb http://deb.debian.org/debian buster-backports main
- EOF
-
-""oooo annoying, pin preferences for buster-backports""
-
- cat << EOF > /etc/apt/preferences.d/99buster-backports
- Package: *
- Pin: release a=buster-backports
- Pin-Priority: 900
- EOF
-
-""upgrade to buster-backports""
-
- apt-get update -y
- apt-get upgrade -y
-
## Download neccessary softwares
apt-get install -y libcurl3-gnutls/buster git/buster
git clone https://github.com/SymbiFlow/prjxray-db.git
git clone https://github.com/gatecat/nextpnr-xilinx.git
-## Steps to compile Yosys
-
-### Necessary software to install
-
- apt-get install -y build-essential make g++ cmake bison flex python3 \
- clang libreadline-dev gawk tcl-dev libffi-dev pkg-config zlib1g-dev \
- libboost-system-dev libboost-python-dev libboost-filesystem-dev
-
-### Build Yosys
-
- cd abc
- git checkout 00b674d5b3ccefc7f2abcbf5b650fc14298ac549
- cd ../yosys
- git checkout 6318db6152d053244adb316fda6e01a32a4f3c72
- ln -s ../abc .
- make -j $(nproc) PREFIX=/usr/local/nx
- make PREFIX=/usr/local/nx install
- export PATH=/usr/local/nx/bin:$PATH
- cd ..
-
## Steps to compile prjxray
### Necessary software to install