genode/tool/depot
Norman Feske 06a53abe68 tool/depot/publish: support system images
This patch equips the publish tool to handle system images.

System images reside at <depot-user/image/. The directory contains an
index file that contains the meta information of the available images
in XML form, e.g.,

  <index>
    <image name="sculpt-pinephone-2023-01-19" board="pinephone">
       <info text="initial version"/>
    </image>
  </index>

To publish a new version of the index:

  ./tool/depot/publish <depot-user>/image/index

Each system image comes in two forms, a bootable disk image and an
archive of the boot directory. The bootable disk image can be used to
install a new system from scratch by copying the image directly ot a
block device. It contains raw block data. The archive of the boot
directory contains the content needed for an on-target system update to
this version. Within the depot, this archive a directory - named after
the image - that contains the designated content of the boot directory
on target. Depending on the board, it may contain only a single file
loaded by the boot loader (e.g., uImage), or several boot modules, or
even the boot-loader configuration.

To publish both forms:

  ./tool/depot/publish <depot-user>/image/<image-name>

This results in the following - accompanied by their respective .sig
files - in the public directory:

  <depot-user>/image/<image-name>.img.gz  (disk image)
  <depot-user>/image/<image-name>.tar.xz  (boot archive)
  <depot-user>/image/<image-name>.zip     (disk image)

The .zip file contains the .img file. It is provided for users who
download the image on a system with no support for .gz.

Fixes #4735
Issue #4744
2023-02-27 08:22:46 +01:00
..
mk tool/depot: replace wget by curl to support file:// URLs 2023-01-24 12:18:16 +01:00
build tool/depot: fix forwarding of CCACHE 2021-07-28 11:24:56 +02:00
create tool/depot/create: typo fix 2022-01-19 12:35:49 +01:00
dependencies tool/depot: make DEPOT_TOOL_DIR customizable 2022-05-25 12:22:10 +02:00
download tool/depot: pass make flags to dependencies cmd 2022-05-25 12:22:10 +02:00
extract tool/depot: improve handling of missing ports 2019-05-27 14:52:52 +02:00
missing_ports tool/depot: improve handling of missing ports 2019-05-27 14:52:52 +02:00
publish tool/depot/publish: support system images 2023-02-27 08:22:46 +01:00
publish_current depot: tool for publishing current versions 2018-05-03 16:11:53 +02:00
static_analyze tool: use static analyzer with depot creation tool 2018-11-29 11:46:02 +01:00