diff options
Diffstat (limited to 'wic/beaglebone-yocto-verity.wks.in')
-rw-r--r-- | wic/beaglebone-yocto-verity.wks.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wic/beaglebone-yocto-verity.wks.in b/wic/beaglebone-yocto-verity.wks.in index 658018b..2d332d8 100644 --- a/wic/beaglebone-yocto-verity.wks.in +++ b/wic/beaglebone-yocto-verity.wks.in @@ -3,6 +3,7 @@ # Copyright (C) 2020 BayLibre SAS # Author: Bartosz Golaszewski <bgolaszewski@baylibre.com> # +# short-description: Create a u-SD image for beaglebone-black with dm-verity # A dm-verity variant of the regular wks for beaglebone black. We need to fetch # the partition images from the DEPLOY_DIR_IMAGE as the rootfs source plugin will # not recreate the exact block device corresponding with the hash tree. We must @@ -10,6 +11,6 @@ # # This .wks only works with the dm-verity-img class. -part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16 --sourceparams="loader=u-boot" --use-uuid -part / --source rawcopy --ondisk mmcblk0 --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}.${DM_VERITY_IMAGE_TYPE}.verity" +part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid +part / --source rawcopy --ondisk mmcblk0 --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}${IMAGE_NAME_SUFFIX}.${DM_VERITY_IMAGE_TYPE}.verity" bootloader --append="console=ttyS0,115200" |