[v3,0/3] simplify swupdate config
mbox series

Message ID 20191029100113.27287-1-adrian.freihofer@siemens.com
Headers show
Series
  • simplify swupdate config
Related show

Message

Freihofer, Adrian Oct. 29, 2019, 10:01 a.m. UTC
This v3 does not change the code in comparison to v2.
I hope this v3 helps to clarify the current state of merging and
supports the review process.

It removes the patches already merged to master:
- swupdate: bump git srcrev
- swupdate git define PV
- libubootenv: git define PV
- libubootenv: bump git srcrev
- swupdate-enc: add missing $

It removes the patches which should not be merged:
- ensure scripts are added before images
- support signed image with variable name
- add missing rdepends

Squasehd "fixes in do_install" into "improve systemd config".
It's may be easier to review in one.

The "install key, cert" patch slighty chagnes. The code gets added as a
new class instead of extending swupdate-enc.bbclass. This makes it more
optional. But this is also easy to maintain in a project specific layer.


Adrian Freihofer (3):
  swupdate: improve systemd config
  swupdate: simplify find images added to swu
  swupdate: install key, cert

 classes/swupdate-img-add.bbclass                   | 35 ++++++++++
 classes/swupdate.bbclass                           | 77 +++++++++++++++-------
 .../swupdate-progress.service                      |  0
 .../swupdate-usb.rules                             |  0
 .../swupdate-usb@.service                          |  0
 .../swupdate.service                               |  0
 .../systemd-tmpfiles-swupdate.conf                 |  0
 recipes-support/swupdate/swupdate.inc              | 68 ++++++++++---------
 recipes-support/swupdate/swupdate_2019.04.bb       | 28 +++++++-
 recipes-support/swupdate/swupdate_git.bb           |  5 +-
 recipes-support/swupdate/swupdate_tools.inc        | 24 -------
 11 files changed, 158 insertions(+), 79 deletions(-)
 create mode 100644 classes/swupdate-img-add.bbclass
 rename recipes-support/swupdate/{swupdate => swupdate-2019.04}/swupdate-progress.service (100%)
 rename recipes-support/swupdate/{swupdate => swupdate-2019.04}/swupdate-usb.rules (100%)
 rename recipes-support/swupdate/{swupdate => swupdate-2019.04}/swupdate-usb@.service (100%)
 rename recipes-support/swupdate/{swupdate => swupdate-2019.04}/swupdate.service (100%)
 rename recipes-support/swupdate/{swupdate => swupdate-2019.04}/systemd-tmpfiles-swupdate.conf (100%)
 delete mode 100644 recipes-support/swupdate/swupdate_tools.inc