Hack call: 14:00 UTC
- Raspberry Pi as development hardware
- Modify the container script so that it works on the Pi
- MR in progress
- Use links to the Raspberry Pi 3B+ image
- There are 3 partitions in the image. Set bootable flag for the last partition for development purposes.
- Raw image has the bootable bit set on the second partition. This causes nspawn to mount the wrong partition as root
- /etc/resolv.conf is missing from the RPi image
- gpg --receive-keys will complain about /etc/resolv.conf missing
- Workaround: use wget to download the public key; use gpg to verify the fingerprint
- See the HKP spec
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x{FINGERPRINT}
- gpg --with-colon --with-fingerprint --show-keys public-key.asc
- dnsmasq (DHCP server) is missing from the RPi image
- DHCP won't work
sudo nmcli on the Pi will fail
- Add dnsmasq to the list of dev dependencies
- Modify the container script so that it works on the Pi
- My setup
- Raspberry Pi 3B/3B+
Laptop with WiFi access
- Ethernet cable connecting Laptop and Raspberry Pi
- Video output optional
If on school or work WiFi, it may be difficult to find the Pi's IP address. Use of an Ethernet cable is recommended
- Need static IP addresses on the Pi and on the host computer
- /etc/network/interfaces on the Pi
- Proxy settings required for apt and wget on the Pi
- Install tinyproxy on host computer (HTTP proxy server)
- dante (SOCKS5 proxy server)
- Need static IP addresses on the Pi and on the host computer
- Time synchronization:
- ssh root@raspberrypi "date -s $(date -Isecond)"
- No password-based login for the root user. Put your public key in /mnt/sdcardpartition2/root/.ssh/authorized_keys
- Mount the Pi's home directory with sshfs so that we can access it from the host computer
- Port forwarding
- ssh -L 8443:10.42.0.38:443 pi@raspberrypi
- Ubuntu script for dist upgrading: ubuntu-release-upgrader
- Has a lot of exception handling for possible errors
- Snap setup code would need to be removed for Debian.
