Browse Source

Merge pull request #272 from lluiscampos/rename-distro-mender-features

[tests cfg] Rename feature variable to MENDER_FEATURES
2.3.x
Lluis Campos 4 years ago
committed by GitHub
parent
commit
8951fa0a8c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      mender-convert-package

12
mender-convert-package

@ -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

Loading…
Cancel
Save