board/mender/x86_64/post-image-efi.sh: re-arrange write rootfs-image args

Put the write rootfs-image argument before the compression argument.
This change makes the logic easier to follow.

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Adam Duskett
2024-10-14 12:21:18 +02:00
committed by Arnout Vandecappelle
parent 6ecab31fad
commit b2e6cff38f

View File

@@ -45,8 +45,8 @@ make_data_partition() {
generate_mender_image() {
echo "Creating ${BINARIES_DIR}/${DEVICE_TYPE}-${ARTIFACT_NAME}.mender"
"${HOST_DIR}/bin/mender-artifact" \
--compression lzma \
write rootfs-image \
--compression lzma \
-t "${DEVICE_TYPE}" \
-n "${BR2_VERSION}" \
-f "${BINARIES_DIR}/rootfs.ext2" \