Fixes for installing on 2017-01-11-raspbian-jessie-lite.img on Raspberrry Pi 3B
authore00E <vakevk+github@gmail.com>
Sat, 14 Jan 2017 22:38:30 +0000 (23:38 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Jan 2017 22:38:30 +0000 (23:38 +0100)
commit699cea4bc05d1b500bc0fac5f575f6c4ef36cb88
tree8e04ff0893d06a7971e928856be7f5b30d78a54d
parent7ac6aa9da57c5e0b7a7d76f14f3b188ec16a8099
Fixes for installing on 2017-01-11-raspbian-jessie-lite.img on Raspberrry Pi 3B

Two fixes I needed to do to get it all to work.
First fix for bug https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/595648 as described in the fifth comment. The actual file was slightly different compared to what was described in the link, but exactly as described there I needed to comment out the if branch of the if else (make sure to remember to also comment out the fi):
```
#if [ -x /bin/plymouth ] && plymouth --ping; then
                        #       cryptkeyscript="plymouth ask-for-password --prompt"
                        #       # Plymouth will add a : if it is a non-graphical prompt
                        #       cryptkey="Please unlock disk $diskname"
                        #else
                                cryptkeyscript="/lib/cryptsetup/askpass"
                                cryptkey="Please unlock disk $diskname: "
                        #fi
```.

Second: My Pi would successfully run the initramfs, but not connect to the network. I needed to add the `ip=:::::eth0:dhcp` kernel option to `/boot/cmdline.txt` for it to work.
README.md