@@ -303,26 +303,22 @@ https://2019.www.torproject.org/docs/debian#source
303303 ssh-keygen -t rsa -b 4096
304304 ```
305305
306- * Copy the ssh pubkey from the Ubuntu image to the `sysconf.txt` the `RASPIFIRM` directory:
306+ * Copy the ssh pubkey from the Ubuntu image to the `sysconf.txt` the `RASPIFIRM` directory (make sure it is mounted) :
307307 ```bash
308308 echo "root_authorized_key=$(cat ~/.ssh/id_rsa.pub)" | tee -a /media/ubuntu/RASPIFIRM/sysconf.txt
309309 ```
310+ * Check with:
311+ ```bash
312+ cat /media/ubuntu/RASPIFIRM/sysconf.txt
313+ ```
310314 The `sysconf.txt` will reset after boot and moves the ssh pubkey to `/root/.ssh/authorized_keys`
311315* Boot the RPi and connect with ssh (use the hostname, `arp -a` or check router))
312316 ```bash
313317 ssh root@rpi4-20210210
314318 ```
315-
316- * apt update, upgrade and reboot
319+ * Install basic dependencies
317320 ```bash
318321 apt update
319- apt upgrade
320- reboot
321- ```
322-
323- * log in again and install basic dependencies
324- ```bash
325- ssh root@rpi4-20210210
326322 apt install sudo wget
327323 ```
328324#### Install Joininbox
@@ -335,7 +331,7 @@ https://2019.www.torproject.org/docs/debian#source
335331 # run
336332 sudo bash build_joininbox.sh
337333 ```
338- * Monitor/Check outputs for warnings/errors - install LCD
334+ * Monitor/Check outputs for warnings/errors
339335#### Prepare the SDcard release
340336 * Make the SDcard image safe to share by removing unique infos like ssh pubkeys and network identifiers:
341337 ``` bash
@@ -344,23 +340,21 @@ https://2019.www.torproject.org/docs/debian#source
344340* Disconnect WiFi/LAN on build laptop (hardware switch off) and shutdown
345341* Remove Ubuntu LIVE USB stick and cut power from the RaspberryPi
346342# ### Sign the image
347- * Connect USB stick with latest TailsOS (make it stay offline)
343+ * Connect USB stick with [Tails](https://tails.boum.org/) (make it stay offline)
348344* Power on the Build Laptop (press F12 for boot menu)
349345* Connect USB stick with GPG signing keys - decrypt drive if needed
350346* Open Terminal and cd into directory of USB Stick under /media/amnesia
351- * Run gpg --import ./sub.key , check and exit
347+ * Run gpg --import backupkey.gpg , check and exit
352348* Disconnect USB stick with GPG keys
353349* Take the SD card from the RaspberryPi and connect with an external SD card reader to the laptop
354350* Click on boot volume once in the file manger
355- * Connect the NTFS USB stick, open in file manager and delete old files
356- * Open Terminal and cd into directory of NTFS USB stick under /media/amnesia
351+ * Connect another USB stick, open in file manager and delete old files
352+ * Open Terminal and cd into directory of USB stick under /media/amnesia
357353* Run df to check on the SD card device name (boot - ignore last partition number)
358- * dd if=/dev/[sdcarddevice] | gzip > ./raspiblitz -vX.X-YEAR-MONTH-DAY.img.gz
354+ * dd if=/dev/[sdcarddevice] | gzip > ./joininbox -vX.X > X-YEAR-MONTH-DAY.img.gz
359355* When finished you should see that more then 7GB were copied
360356* Then run shasum -a 256 * .gz > sha256.txt
361- * Sign with gpg --output raspiblitz -vX.X-YEAR-MONTH-DAY.img.gz.sig --detach-sign * .gz
357+ * Sign with gpg --output joininbox -vX.X .X-YEAR-MONTH-DAY.img.gz.sig --detach-sign * .gz
362358* Shutdown build computer
363- * Connect the NTFS USB stick to MacOS (it is just read-only)
364- * Run tests on the new image
365- * Upload the new image to the Download Server - put sig-file next to it
359+ * Upload the new image to the release files - put sig-file next to it
366360* Copy SHA256-String into GitHub README and update the download link
0 commit comments