Browse Source

rauc: Create default files for a rauc slot to be used by the image

Create a sysmocom-nitb-rauc-image and create a rauc packagegroup
with the default depdencies and an include file to be used by
other images. This assumes that sysmocom-image.inc has been
included first.
hheinold/ntpdate
Holger Hans Peter Freyther 6 years ago
parent
commit
fdc0560b63
  1. 2
      recipes-apps/images/sysmocom-nitb-rauc-image.bb
  2. 5
      recipes-apps/images/sysmocom-rauc-slot.inc
  3. 18
      recipes-core/packagegroups/packagegroup-rauc-slot.bb

2
recipes-apps/images/sysmocom-nitb-rauc-image.bb

@ -0,0 +1,2 @@
require sysmocom-nitb-image.bb
require sysmocom-rauc-slot.inc

5
recipes-apps/images/sysmocom-rauc-slot.inc

@ -0,0 +1,5 @@
IMAGE_INSTALL_append = " packagegroup-rauc-slot "
# force it to a squashfs
IMAGE_FSTYPES = "squashfs"

18
recipes-core/packagegroups/packagegroup-rauc-slot.bb

@ -0,0 +1,18 @@
DESCRIPTION = "Task for sysmocom rauc slots"
LICENSE = "MIT"
LIC_FILES_CHKSUM = " \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
ALLOW_EMPTY_${PN} = "1"
PR = "r1"
RDEPENDS_${PN} = "\
rauc \
sysmocom-backup-data \
sysmocom-backup-default \
"
# Add minimal debug helpers
RDEPENDS_${PN} += "\
strace tcpdump \
"
Loading…
Cancel
Save