Update packaging instructions according to #20.

This commit is contained in:
Jarno Rantanen 2017-10-17 13:33:53 +03:00
parent 2b735acfa9
commit 098066918b
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ Not all hardware works perfectly with the Pi, so to save you some digging, here'
Preparing the image is easy. Assuming you're on macOS: Preparing the image is easy. Assuming you're on macOS:
1. Download and unzip [the latest image](https://github.com/futurice/chilipie-kiosk/releases/download/v1.2.1/chilipie-kiosk-v1.2.1.img.zip) 1. Download and decompress [the latest image](https://github.com/futurice/chilipie-kiosk/releases/download/v1.2.1-repack/chilipie-kiosk-v1.2.1.img.tar.gz)
1. Insert your microSD card 1. Insert your microSD card
1. `$ diskutil list` to check the correct device 1. `$ diskutil list` to check the correct device
1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging 1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging

View File

@ -98,5 +98,5 @@ Assuming OS X:
1. `$ diskutil list` to check correct device 1. `$ diskutil list` to check correct device
1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging 1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging
1. `$ sudo dd bs=1m count=7680 if=/dev/disk2 of=chilipie-kiosk-$TAG.img` (only dump the relevant first ~8 GB, matching the original `ubuntu-mate` image size; takes around 15 minutes) 1. `$ sudo dd bs=1m count=7680 if=/dev/disk2 of=chilipie-kiosk-$TAG.img` (only dump the relevant first ~8 GB, matching the original `ubuntu-mate` image size; takes around 15 minutes)
1. `$ openssl sha1 chilipie-kiosk-$TAG.img` and include hash in release notes 1. `$ COPYFILE_DISABLE=1 tar -zcvf chilipie-kiosk-$TAG.img.tar.gz chilipie-kiosk-$TAG.img`
1. `$ zip chilipie-kiosk-$TAG.img.zip chilipie-kiosk-$TAG.img` 1. `$ openssl sha1 chilipie-kiosk-$TAG.img*` and include hash in release notes