Provide information how ISO was generated in file conf/buildinfo.json
authorMichael Prokop <mika@grml.org>
Wed, 14 Jul 2021 01:09:25 +0000 (03:09 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 16 Jul 2021 16:18:29 +0000 (18:18 +0200)
commit9453222c016a82a2c964e174ec01687f88d73d86
treeee2a2b14e68579c5ef90e995e279c1d5a1061a7a
parentf949c3c603c38b3d70d6b9ef753e5a559fb41cf7
Provide information how ISO was generated in file conf/buildinfo.json

Relevant changes:

* Depend on "jo" tool, used for generating the json output in
  conf/buildinfo.json

* Do not rewrite $SQUASHFS_NAME content, instead handle its fixed output
  format via $fixed_squashfs_name

* Same for $RELEASE_INFO content, handled via $fixed_squashfs_name now

* Always set $SQUASHFS_BINARY if unset, to be able to log
  a proper command line, even if mksquashfs stage gets skipped

FTR: the generated file is accessible on the live system under
/run/live/medium/conf/buildinfo.json

Closes: https://github.com/grml/grml-live/issues/44
debian/control
grml-live