[meta-swupdate-boards,0/2] simplify swupdate config
mbox series

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

Message

Freihofer, Adrian Nov. 14, 2019, 10:21 p.m. UTC
This aligns meta-swupdate-boards with latest swupdate, meta-swupdate
and poky. These patches depend on the patches "simplify swupdate
config" for meta-swupdate.

It's tested for MACHINE=beagloebone-yocto started in Qemu. (No real
HW available.) It's build-time tested for 3 out of 4 combinations of
CONFIG_SYSTEMD=y/n and CONFIG_UBOOT_NEWAPI=y/n. The following lines
were added to the default local.conf file of current poky 3.0:
  nn ny yy
  1  2  3  PREFERRED_VERSION_swupdate = "2019.04+git%"
  #        PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"
  #        PREFERRED_VERSION_libubootenv = "0.1+git%"

  #  #     DISTRO_FEATURES_append = " systemd"
  #  #     VIRTUAL-RUNTIME_init_manager = "systemd"
  #  #     VIRTUAL-RUNTIME_initscripts = ""
  #  #     VIRTUAL-RUNTIME_dev_manager = "systemd"
  #  #     VIRTUAL-RUNTIME_login_manager = "busybox"

Adrian Freihofer (2):
  Add zeus to layer compatibility
  support modular config and systemd

 conf/layer.conf                                    |   2 +-
 .../swupdate/beaglebone-yocto/09-swupdate-args     |  16 ++
 .../swupdate/beaglebone-yocto/10-remove-force-ro   |   2 +
 .../swupdate/swupdate/beaglebone-yocto/defconfig   |  42 +++--
 .../swupdate/swupdate/beaglebone-yocto/swupdate    | 193 ---------------------
 .../swupdate/raspberrypi3/09-swupdate-args         |  16 ++
 .../swupdate/swupdate/raspberrypi3/swupdate        | 191 --------------------
 .../swupdate/swupdate/wandboard/09-swupdate-args   |  16 ++
 .../swupdate/swupdate/wandboard/swupdate           | 191 --------------------
 recipes-support/swupdate/swupdate_%.bbappend       |  16 +-
 10 files changed, 88 insertions(+), 597 deletions(-)
 create mode 100644 recipes-support/swupdate/swupdate/beaglebone-yocto/09-swupdate-args
 create mode 100644 recipes-support/swupdate/swupdate/beaglebone-yocto/10-remove-force-ro
 delete mode 100644 recipes-support/swupdate/swupdate/beaglebone-yocto/swupdate
 create mode 100644 recipes-support/swupdate/swupdate/raspberrypi3/09-swupdate-args
 delete mode 100644 recipes-support/swupdate/swupdate/raspberrypi3/swupdate
 create mode 100644 recipes-support/swupdate/swupdate/wandboard/09-swupdate-args
 delete mode 100644 recipes-support/swupdate/swupdate/wandboard/swupdate

Comments

Stefano Babic Nov. 15, 2019, 2:18 p.m. UTC | #1
On 14/11/19 23:21, Adrian Freihofer wrote:
> This aligns meta-swupdate-boards with latest swupdate, meta-swupdate
> and poky. These patches depend on the patches "simplify swupdate
> config" for meta-swupdate.
> 
> It's tested for MACHINE=beagloebone-yocto started in Qemu. (No real
> HW available.) It's build-time tested for 3 out of 4 combinations of
> CONFIG_SYSTEMD=y/n and CONFIG_UBOOT_NEWAPI=y/n. The following lines
> were added to the default local.conf file of current poky 3.0:
>   nn ny yy
>   1  2  3  PREFERRED_VERSION_swupdate = "2019.04+git%"
>   #        PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"
>   #        PREFERRED_VERSION_libubootenv = "0.1+git%"
> 
>   #  #     DISTRO_FEATURES_append = " systemd"
>   #  #     VIRTUAL-RUNTIME_init_manager = "systemd"
>   #  #     VIRTUAL-RUNTIME_initscripts = ""
>   #  #     VIRTUAL-RUNTIME_dev_manager = "systemd"
>   #  #     VIRTUAL-RUNTIME_login_manager = "busybox"
> 
> Adrian Freihofer (2):
>   Add zeus to layer compatibility
>   support modular config and systemd
> 
>  conf/layer.conf                                    |   2 +-
>  .../swupdate/beaglebone-yocto/09-swupdate-args     |  16 ++
>  .../swupdate/beaglebone-yocto/10-remove-force-ro   |   2 +
>  .../swupdate/swupdate/beaglebone-yocto/defconfig   |  42 +++--
>  .../swupdate/swupdate/beaglebone-yocto/swupdate    | 193 ---------------------
>  .../swupdate/raspberrypi3/09-swupdate-args         |  16 ++
>  .../swupdate/swupdate/raspberrypi3/swupdate        | 191 --------------------
>  .../swupdate/swupdate/wandboard/09-swupdate-args   |  16 ++
>  .../swupdate/swupdate/wandboard/swupdate           | 191 --------------------
>  recipes-support/swupdate/swupdate_%.bbappend       |  16 +-
>  10 files changed, 88 insertions(+), 597 deletions(-)
>  create mode 100644 recipes-support/swupdate/swupdate/beaglebone-yocto/09-swupdate-args
>  create mode 100644 recipes-support/swupdate/swupdate/beaglebone-yocto/10-remove-force-ro
>  delete mode 100644 recipes-support/swupdate/swupdate/beaglebone-yocto/swupdate
>  create mode 100644 recipes-support/swupdate/swupdate/raspberrypi3/09-swupdate-args
>  delete mode 100644 recipes-support/swupdate/swupdate/raspberrypi3/swupdate
>  create mode 100644 recipes-support/swupdate/swupdate/wandboard/09-swupdate-args
>  delete mode 100644 recipes-support/swupdate/swupdate/wandboard/swupdate
> 

Applied to -master, thanks !

Best regards,
Stefano Babic