diff options
author | Paul Spooren <mail@aparcar.org> | 2018-07-20 17:32:12 +0900 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-30 15:55:21 +0200 |
commit | 869b0d11db926a925bff6bad6024a0031bb259ac (patch) | |
tree | 0c948e867b6fbdddfa005870724ec8e30d2f928e /tools/autoconf/patches/001-no_emacs_lib.patch | |
parent | 8492ad0cc183550137ea5afadcbebbfb4fd68fed (diff) | |
download | upstream-869b0d11db926a925bff6bad6024a0031bb259ac.tar.gz upstream-869b0d11db926a925bff6bad6024a0031bb259ac.tar.bz2 upstream-869b0d11db926a925bff6bad6024a0031bb259ac.zip |
imagebuilder: add function to show manifest
Tested with 18.06.0-rc2/ar71xx/generic/tl-wdr4300-v1, image & list
This PR is based on the work of @fewckert[1] with slight improvements.
Add function `manifest` to show the manifest of the produced image,
before actually building it. The manifest contains an orderd list of
package name and version.
This is usefull to check package dependencies but also determine a
unique and reproducible image name before building the package. The
sysupgrade server[2] builds images on request with individual package
selection. To distignish between created images which contain differnt
packages, the EXTRA_IMAGE_NAME is set to a shortend hash of the
manifest's content. So far the image was renamed afterwards as the
manifests content was unknown, however this corrupts the signed
sha256sums. This patch allows a clean solution as to dtermine the
manifest in advance and set the EXTRA_IMAGE_NAME accordingly.
[1]: https://github.com/lede-project/source/pull/1591
[2]: https://github.com/aparcar/attendedsysupgrade-server
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'tools/autoconf/patches/001-no_emacs_lib.patch')
0 files changed, 0 insertions, 0 deletions