Skip to content

Commit

Permalink
Merge pull request #53 from ejoerns/rpi-verity
Browse files Browse the repository at this point in the history
meta-rauc-raspberrypi: Enable 'verity' and HTTP(S) bundle streaming support
  • Loading branch information
leon-anavi committed Feb 17, 2023
2 parents 83439d1 + f433c66 commit 3d43459
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion meta-rauc-raspberrypi/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ BBFILE_PATTERN_meta-rauc-raspberrypi = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-rauc-raspberrypi = "6"

LAYERDEPENDS_meta-rauc-raspberrypi = "core rauc raspberrypi"
LAYERSERIES_COMPAT_meta-rauc-raspberrypi = "dunfell gatesgarth hardknott honister"
LAYERSERIES_COMPAT_meta-rauc-raspberrypi = "dunfell gatesgarth hardknott honister kirkstone"
3 changes: 3 additions & 0 deletions meta-rauc-raspberrypi/recipes-core/bundles/update-bundle.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ inherit bundle
RAUC_BUNDLE_COMPATIBLE = "RaspberryPi4"
RAUC_BUNDLE_VERSION = "v20200703"
RAUC_BUNDLE_DESCRIPTION = "RAUC Demo Bundle"

RAUC_BUNDLE_FORMAT = "verity"

RAUC_BUNDLE_SLOTS = "rootfs"
RAUC_SLOT_rootfs = "core-image-minimal"
RAUC_SLOT_rootfs[fstype] = "ext4"
Expand Down
12 changes: 7 additions & 5 deletions meta-rauc-raspberrypi/recipes-kernel/linux/files/rauc.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CONFIG_SQUASHFS=y
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_SQUASHFS_FILE_CACHE=y
CONFIG_SQUASHFS_DECOMP_SINGLE=y
CONFIG_SQUASHFS_ZLIB=y
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_DM_VERITY=y
CONFIG_SQUASHFS=y
CONFIG_CRYPTO_SHA256=y
# For bundle streaming
CONFIG_BLK_DEV_NBD=y

0 comments on commit 3d43459

Please sign in to comment.