Since the internal keyboard and touchpad won't work until you have built and loaded the drivers, you'll need to plug in an external USB keyboard to do the initial setup and installation.
apt install dkms
git clone https://github.com/cb22/macbook12-spi-driver.git /usr/src/applespi-0.1
dkms install -m applespi -v 0.1
https://github.com/cb22/macbook12-spi-driver
https://gist.github.com/roadrunner2/1289542a748d9a104e7baec6a92f9cd7