torch-pi-gen/export-image
Hugo Hromic 8acf95f237 Do not assume the changelog file is always present for the info file (#280)
The `(..)/raspberrypi-kernel/changelog.Debian.gz` file is not guaranteed
to be present in the built `ROOTFS_DIR`, for example when building very
minimal images without package documentation. In these cases, the `firmware`
variable will be left empty and the subsequent calls to `curl` will return
large 404 HTML content from GitHub.

Instead, simply check if the changelog file exists before using it.
2019-04-25 10:28:48 +01:00
..
01-set-sources Switch to Stretch 2017-07-28 13:35:46 +01:00
02-network shellcheck 2018-03-13 12:50:50 +00:00
03-set-partuuid Update 00-run.sh 2019-01-23 15:32:08 +00:00
04-finalise Do not assume the changelog file is always present for the info file (#280) 2019-04-25 10:28:48 +01:00
00-allow-rerun shellcheck 2018-03-13 12:50:50 +00:00
prerun.sh Switch to using parted's machine parseable output (#270) 2019-03-18 14:49:18 +00:00