package/mender-artifact: new package
authorAngelo Compagnucci <angelo@amarulasolutions.com>
Wed, 6 Feb 2019 13:23:59 +0000 (14:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 17 Mar 2019 16:21:36 +0000 (17:21 +0100)
commit33f1bd1f025e0d8f03017da75b04e57f8de3dc6e
tree472623ee15d1332c944041d61be5d122b139de4d
parentaba08cd218315c8ce5ec97c5e2dd5edbcfa47fdd
package/mender-artifact: new package

mender-artifact is a host tool to generate update images
in the Mender artifact file format.
This package uses the binary archive from github because it bundles the
external dependencies.

Example usage:

    $ mender-artifact write rootfs-image \
         --update rootfs.ext4 \
         --output-path rootfs.mender \
         --artifact-name "release-v1.0.0" \
         --device-type "beaglebone"

Above will generate a Mender artifact called "rootfs.mender"
containing the "rootfs.ext4" image along with meta-data.

One can read-out the meta-data with the following command:

    $ mender-artifact read rootfs.mender
      Mender artifact:
      Name: release-v1.0.0
      Format: mender
      Version: 2
      Signature: no signature
      Compatible devices: '[beaglebone]'

    Updates:
      0000:
        Type:   rootfs-image
        Files:
          name:     rootfs.ext4
          size:     52428800
          modified: 2018-08-27 09:10:55 +0200 CEST
          checksum: e70b113fb0964a810a3043586eb4fc1c48e684ba78b02ba65fead4aa3e540d87

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in.host
package/mender-artifact/Config.in.host [new file with mode: 0644]
package/mender-artifact/mender-artifact.hash [new file with mode: 0644]
package/mender-artifact/mender-artifact.mk [new file with mode: 0644]