|
@ -340,15 +340,15 @@ log_info "Conversion has completed! \o/" |
|
|
if [ "${MENDER_GRUB_EFI_INTEGRATION}" == "y" ]; then |
|
|
if [ "${MENDER_GRUB_EFI_INTEGRATION}" == "y" ]; then |
|
|
boot_part_mountpoint="/boot/efi" |
|
|
boot_part_mountpoint="/boot/efi" |
|
|
|
|
|
|
|
|
# This is the name of the DISTRO_FEATURES in Yocto |
|
|
# This is the name of the MENDER_FEATURES in Yocto |
|
|
distro_feature="mender-grub" |
|
|
bootloader_feature="mender-grub" |
|
|
else |
|
|
else |
|
|
boot_part_mountpoint="/uboot" |
|
|
boot_part_mountpoint="/uboot" |
|
|
|
|
|
|
|
|
# This is the name of the DISTRO_FEATURES in Yocto |
|
|
# This is the name of the MENDER_FEATURES in Yocto |
|
|
distro_feature="mender-uboot" |
|
|
bootloader_feature="mender-uboot" |
|
|
fi |
|
|
fi |
|
|
distro_feature="${distro_feature} mender-convert" |
|
|
mender_features="${bootloader_feature} mender-convert" |
|
|
|
|
|
|
|
|
cat <<- EOF > deploy/${image_name}.cfg |
|
|
cat <<- EOF > deploy/${image_name}.cfg |
|
|
MENDER_BOOT_PART="${boot_part_device}" |
|
|
MENDER_BOOT_PART="${boot_part_device}" |
|
@ -364,7 +364,7 @@ MENDER_PARTITION_ALIGNMENT="${MENDER_PARTITION_ALIGNMENT}" |
|
|
MENDER_STORAGE_TOTAL_SIZE_MB="${MENDER_STORAGE_TOTAL_SIZE_MB}" |
|
|
MENDER_STORAGE_TOTAL_SIZE_MB="${MENDER_STORAGE_TOTAL_SIZE_MB}" |
|
|
MENDER_UBOOT_ENV_STORAGE_DEVICE_OFFSET="12582912" |
|
|
MENDER_UBOOT_ENV_STORAGE_DEVICE_OFFSET="12582912" |
|
|
MENDER_ARTIFACT_NAME="${artifact_name}" |
|
|
MENDER_ARTIFACT_NAME="${artifact_name}" |
|
|
DISTRO_FEATURES="${distro_feature}" |
|
|
MENDER_FEATURES="${mender_features}" |
|
|
DEPLOY_DIR_IMAGE="${PWD}/deploy" |
|
|
DEPLOY_DIR_IMAGE="${PWD}/deploy" |
|
|
MENDER_MACHINE="${device_type}" |
|
|
MENDER_MACHINE="${device_type}" |
|
|
EOF |
|
|
EOF |
|
|