Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not assume the changelog file is always present for the info file (R…
…Pi-Distro#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.
- Loading branch information