From 098066918b4c9acc602eb1d27ca04a56da6133de Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Tue, 17 Oct 2017 13:33:53 +0300 Subject: [PATCH] Update packaging instructions according to #20. --- README.md | 2 +- image-setup.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bdf89db..90a1ba7 100644 --- a/README.md +++ b/README.md @@ -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: -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. `$ diskutil list` to check the correct device 1. `$ diskutil unmountDisk /dev/disk2` to prepare it for imaging diff --git a/image-setup.md b/image-setup.md index dd84c7a..48d5eeb 100644 --- a/image-setup.md +++ b/image-setup.md @@ -98,5 +98,5 @@ Assuming OS X: 1. `$ diskutil list` to check correct device 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. `$ openssl sha1 chilipie-kiosk-$TAG.img` and include hash in release notes -1. `$ zip chilipie-kiosk-$TAG.img.zip chilipie-kiosk-$TAG.img` +1. `$ COPYFILE_DISABLE=1 tar -zcvf chilipie-kiosk-$TAG.img.tar.gz chilipie-kiosk-$TAG.img` +1. `$ openssl sha1 chilipie-kiosk-$TAG.img*` and include hash in release notes