All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Kiszka" <jan.kiszka@siemens.com>
To: cip-dev@lists.cip-project.org,
	Quirin Gylstorff <quirin.gylstorff@siemens.com>
Subject: Re: [cip-dev] [isar-cip-core PATCH v2 0/5] A/B Rootfs update with software update
Date: Wed, 29 Jul 2020 19:07:51 +0200	[thread overview]
Message-ID: <0d1c9047-4991-8dd7-165a-13245085195a@siemens.com> (raw)
In-Reply-To: <20200629095611.3000-1-Quirin.Gylstorff@siemens.com>

[-- Attachment #1: Type: text/plain, Size: 6862 bytes --]

On 29.06.20 11:56, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> This patchset adds efibootguard, swupdate to allow A/B updates in
> cip-core. The update mechanism is currently only implemented for x86_64.
> 
> Changes V2:
>   - update efibootguard to v0.7
>   - add swdescription and kas option to build qemu-amd64 test image
>   - swupdate set to upstream mirror and no longer use gitsm
> 
> Quirin Gylstorff (5):
>    recipes-bsp: Add efibootguard
>    patches: add libubootenv
>    recipes-core: add swupdate
>    wic: Add wks files for A/B Partition update
>    swupdate: create swu file from wic image
> 
>   classes/extract-partition.bbclass             |  26 +
>   classes/kconfig-snippets.bbclass              |  90 ++++
>   classes/swupdate-config.bbclass               |  76 +++
>   classes/swupdate-img.bbclass                  |  75 +++
>   classes/wic-swu-img.bbclass                   |  20 +
>   .../0001-u-boot-add-libubootenv.patch         | 169 +++++++
>   kas-cip.yml                                   |   4 +
>   kas/opt/ebg-swu.yml                           |  26 +
>   kas/opt/qemu-swupdate.yml                     |  19 +
>   .../efibootguard/efibootguard_0.7-git+isar.bb |  46 ++
>   recipes-bsp/efibootguard/files/debian/compat  |   1 +
>   .../efibootguard/files/debian/control.tmpl    |  20 +
>   .../files/debian/efibootguard-dev.install     |   3 +
>   .../files/debian/efibootguard.install         |   2 +
>   recipes-bsp/efibootguard/files/debian/rules   |  21 +
>   recipes-core/images/cip-core-image.bb         |  10 +
>   recipes-core/images/files/sw-description.tmpl |  29 ++
>   .../swupdate/files/debian/changelog.tmpl      |   6 +
>   recipes-core/swupdate/files/debian/compat     |   1 +
>   .../swupdate/files/debian/control.tmpl        |  15 +
>   recipes-core/swupdate/files/debian/copyright  |  36 ++
>   recipes-core/swupdate/files/debian/rules.tmpl |  30 ++
>   .../swupdate/files/debian/swupdate.examples   |   2 +
>   .../swupdate/files/debian/swupdate.install    |   2 +
>   .../swupdate/files/debian/swupdate.manpages   |   5 +
>   .../swupdate/files/debian/swupdate.tmpfile    |   2 +
>   recipes-core/swupdate/files/debian/watch      |  12 +
>   recipes-core/swupdate/files/postinst          |   2 +
>   recipes-core/swupdate/files/swupdate.cfg      |   6 +
>   .../swupdate/files/swupdate.service.example   |  11 +
>   .../swupdate/files/swupdate.socket.example    |  11 +
>   .../swupdate/files/swupdate.socket.tmpl       |  13 +
>   .../swupdate/files/swupdate_defconfig         |  83 ++++
>   .../swupdate_defconfig_efibootguard.snippet   |   3 +
>   .../files/swupdate_defconfig_lua.snippet      |   2 +
>   .../swupdate_defconfig_luahandler.snippet     |   4 +
>   .../files/swupdate_defconfig_mtd.snippet      |   1 +
>   .../files/swupdate_defconfig_u-boot.snippet   |   3 +
>   .../files/swupdate_defconfig_ubi.snippet      |   6 +
>   .../swupdate/files/swupdate_handlers.lua      | 453 ++++++++++++++++++
>   recipes-core/swupdate/swupdate.bb             |  54 +++
>   .../wic/plugins/source/efibootguard-boot.py   | 162 +++++++
>   .../wic/plugins/source/efibootguard-efi.py    | 102 ++++
>   wic/ebg-sysparts.inc                          |   8 +
>   wic/qemu-amd64-efibootguard.wks               |   5 +
>   wic/simatic-ipc227e-efibootguard.wks          |   5 +
>   wic/swupdate-partition.inc                    |   4 +
>   47 files changed, 1686 insertions(+)
>   create mode 100644 classes/extract-partition.bbclass
>   create mode 100644 classes/kconfig-snippets.bbclass
>   create mode 100644 classes/swupdate-config.bbclass
>   create mode 100644 classes/swupdate-img.bbclass
>   create mode 100644 classes/wic-swu-img.bbclass
>   create mode 100644 isar-patches/0001-u-boot-add-libubootenv.patch
>   create mode 100644 kas/opt/ebg-swu.yml
>   create mode 100644 kas/opt/qemu-swupdate.yml
>   create mode 100644 recipes-bsp/efibootguard/efibootguard_0.7-git+isar.bb
>   create mode 100644 recipes-bsp/efibootguard/files/debian/compat
>   create mode 100644 recipes-bsp/efibootguard/files/debian/control.tmpl
>   create mode 100644 recipes-bsp/efibootguard/files/debian/efibootguard-dev.install
>   create mode 100644 recipes-bsp/efibootguard/files/debian/efibootguard.install
>   create mode 100755 recipes-bsp/efibootguard/files/debian/rules
>   create mode 100644 recipes-core/images/files/sw-description.tmpl
>   create mode 100644 recipes-core/swupdate/files/debian/changelog.tmpl
>   create mode 100644 recipes-core/swupdate/files/debian/compat
>   create mode 100644 recipes-core/swupdate/files/debian/control.tmpl
>   create mode 100644 recipes-core/swupdate/files/debian/copyright
>   create mode 100755 recipes-core/swupdate/files/debian/rules.tmpl
>   create mode 100644 recipes-core/swupdate/files/debian/swupdate.examples
>   create mode 100644 recipes-core/swupdate/files/debian/swupdate.install
>   create mode 100644 recipes-core/swupdate/files/debian/swupdate.manpages
>   create mode 100644 recipes-core/swupdate/files/debian/swupdate.tmpfile
>   create mode 100644 recipes-core/swupdate/files/debian/watch
>   create mode 100644 recipes-core/swupdate/files/postinst
>   create mode 100644 recipes-core/swupdate/files/swupdate.cfg
>   create mode 100644 recipes-core/swupdate/files/swupdate.service.example
>   create mode 100644 recipes-core/swupdate/files/swupdate.socket.example
>   create mode 100644 recipes-core/swupdate/files/swupdate.socket.tmpl
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig_efibootguard.snippet
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig_lua.snippet
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig_luahandler.snippet
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig_mtd.snippet
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig_u-boot.snippet
>   create mode 100644 recipes-core/swupdate/files/swupdate_defconfig_ubi.snippet
>   create mode 100644 recipes-core/swupdate/files/swupdate_handlers.lua
>   create mode 100644 recipes-core/swupdate/swupdate.bb
>   create mode 100644 scripts/lib/wic/plugins/source/efibootguard-boot.py
>   create mode 100644 scripts/lib/wic/plugins/source/efibootguard-efi.py
>   create mode 100644 wic/ebg-sysparts.inc
>   create mode 100644 wic/qemu-amd64-efibootguard.wks
>   create mode 100644 wic/simatic-ipc227e-efibootguard.wks
>   create mode 100644 wic/swupdate-partition.inc
> 

Thanks, applied to next. The secure boot series is on hold due to 
conflict. When you update it, please also make sure that at least one 
target covering as much as possible of your code is built via CI.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5051): https://lists.cip-project.org/g/cip-dev/message/5051
Mute This Topic: https://lists.cip-project.org/mt/75188184/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy  [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-

  parent reply	other threads:[~2020-07-29 17:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-25 13:21 [cip-dev] [isar-cip-core RFC 0/4] A/B Rootfs update with software update Quirin Gylstorff
2020-06-25 13:21 ` [cip-dev] [isar-cip-core RFC 1/4] recipes-bsp: Add efibootguard Quirin Gylstorff
2020-06-26 13:37   ` Jan Kiszka
2020-06-29  9:03     ` Quirin Gylstorff
2020-06-25 13:21 ` [cip-dev] [isar-cip-core RFC 2/4] patches: add libubootenv Quirin Gylstorff
2020-06-25 13:21 ` [cip-dev] [isar-cip-core RFC 3/4] recipes-core: add swupdate Quirin Gylstorff
2020-06-26 13:05   ` Jan Kiszka
2020-06-29  9:03     ` Quirin Gylstorff
2020-06-25 13:21 ` [cip-dev] [isar-cip-core RFC 4/4] wic: Add wks files for A/B Partition update Quirin Gylstorff
2020-06-29  9:56 ` [cip-dev] [isar-cip-core PATCH v2 0/5] A/B Rootfs update with software update Quirin Gylstorff
2020-06-29  9:56   ` [cip-dev] [isar-cip-core PATCH v2 1/5] recipes-bsp: Add efibootguard Quirin Gylstorff
2020-06-29  9:56   ` [cip-dev] [isar-cip-core PATCH v2 2/5] patches: add libubootenv Quirin Gylstorff
2020-06-29  9:56   ` [cip-dev] [isar-cip-core PATCH v2 3/5] recipes-core: add swupdate Quirin Gylstorff
2020-06-29  9:56   ` [cip-dev] [isar-cip-core PATCH v2 4/5] wic: Add wks files for A/B Partition update Quirin Gylstorff
2020-06-29  9:56   ` [cip-dev] [isar-cip-core PATCH v2 5/5] swupdate: create swu file from wic image Quirin Gylstorff
2020-07-29 17:07   ` Jan Kiszka [this message]
2020-07-24 14:52 ` [cip-dev] [isar-cip-core PATCH v3 0/5] A/B Rootfs update with software update Quirin Gylstorff
2020-07-24 14:52   ` [cip-dev] [isar-cip-core PATCH v3 1/5] recipes-bsp: Add efibootguard Quirin Gylstorff
2020-07-24 14:52   ` [cip-dev] [isar-cip-core PATCH v3 2/5] patches: add libubootenv Quirin Gylstorff
2020-07-24 14:52   ` [cip-dev] [isar-cip-core PATCH v3 3/5] recipes-core: add swupdate Quirin Gylstorff
2020-07-24 14:52   ` [cip-dev] [isar-cip-core PATCH v3 4/5] wic: Add wks files for A/B Partition update Quirin Gylstorff
2020-07-24 14:52   ` [cip-dev] [isar-cip-core PATCH v3 5/5] swupdate: create swu file from wic image Quirin Gylstorff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d1c9047-4991-8dd7-165a-13245085195a@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=quirin.gylstorff@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.