blob: a1d7738f52ba5db144a47ff8f7990d115c46db91 [file] [log] [blame]
Andrew Geissler1fe918a2020-05-15 14:16:47 -05001# SPDX-License-Identifier: MIT
2#
3# Copyright (C) 2020 BayLibre SAS
4# Author: Bartosz Golaszewski <bgolaszewski@baylibre.com>
5#
6# A dm-verity variant of the regular wks for beaglebone black. We need to fetch
7# the partition images from the DEPLOY_DIR_IMAGE as the rootfs source plugin will
8# not recreate the exact block device corresponding with the hash tree. We must
9# not alter the label or any other setting on the image.
10#
11# This .wks only works with the dm-verity-img class.
12
Andrew Geissler2daf84b2023-03-31 09:57:23 -050013part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid
Andrew Geisslercc589282020-09-18 13:34:40 -050014part / --source rawcopy --ondisk mmcblk0 --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}.${DM_VERITY_IMAGE_TYPE}.verity"
Andrew Geissler1fe918a2020-05-15 14:16:47 -050015bootloader --append="console=ttyS0,115200"