Skip to content

Yocto receipes to generate a swupdate rootfilesystem as initrd

License

Notifications You must be signed in to change notification settings

gizero/meta-swupdate

 
 

Repository files navigation

meta-swupdate, Yocto layer for deploy tool
==========================================

This layer's purpose is to add support for a deployment
mechanism of Yocto's images based on swupdate project.

Layer dependencies
------------------

This layer depends on:

URI: git:https://github.com/openembedded/meta-openembedded.git
subdirectory: meta-oe

Image hashing
-------------

During creation of the update file, occurrences of @IMAGE (where IMAGE is an
image filename) are replaced with the sha256 hash of the image.

SWU image signing
------------

To enable signing:
    Set SWUPDATE_SIGNING = "1"
    Set SWUPDATE_PRIVATE_KEY to the full path of private key file

sw-description is signed with the private key and the signature is writen to
sw-description.sig which is included in the SWU file.

Encrypted private keys are not currently supported since a secure 
mechanism must exist to provide the passphrase.

If SWUPDATE_SIGN_TOOL is set, SWUPDATE_PRIVATE_KEY is ignored and the string
contained in SWUPDATE_SIGN_TOOL is executed to perform the signing.

Maintainer
----------

Stefano Babic <[email protected]>

Submitting patches
------------------

You can submit your patches (or post questions reagarding
this layer to the swupdate Mailing List:

	[email protected]

When creating patches, please use something like:

    git format-patch -s --subject-prefix='meta-swupdate][PATCH' <revision range>

Please use 'git send- email' to send the generated patches to the ML
to bypass changes from your mailer.

About

Yocto receipes to generate a swupdate rootfilesystem as initrd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 47.0%
  • C++ 32.5%
  • BitBake 20.5%