File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -713,15 +713,15 @@ fastboot -s "${FASTBOOT_DEVICE_SPECIFIER}" flash "${RPI_DEVICE_STORAGE_TYPE}"p1
713713fastboot -s " ${FASTBOOT_DEVICE_SPECIFIER} " flash mapper/cryptroot " ${RPI_SB_WORKDIR} " /rootfs-temporary.simg
714714announce_stop " Writing OS images"
715715
716+ metadata_gather
717+
716718# Run customisation script for post-flash stage
717719run_customisation_script " fde-provisioner" " post-flash" " ${FASTBOOT_DEVICE_SPECIFIER} " " ${TARGET_DEVICE_SERIAL} " " ${RPI_DEVICE_STORAGE_TYPE} "
718720
719721announce_start " Set LED status"
720722fastboot -s " ${FASTBOOT_DEVICE_SPECIFIER} " oem led PWR 0
721723announce_stop " Set LED status"
722724
723- metadata_gather
724-
725725record_state " ${TARGET_DEVICE_SERIAL} " " ${PROVISIONER_FINISHED} " " ${TARGET_USB_PATH} "
726726log " Provisioning completed. Remove the device from this machine."
727727
Original file line number Diff line number Diff line change @@ -205,11 +205,12 @@ announce_start "Set LED status"
205205fastboot -s " ${FASTBOOT_DEVICE_SPECIFIER} " oem led PWR 0
206206announce_stop " Set LED status"
207207
208+ metadata_gather
209+
208210# Run post-flash customisation script
209211run_customisation_script " naked-provisioner" " post-flash" " ${FASTBOOT_DEVICE_SPECIFIER} " " ${TARGET_DEVICE_SERIAL} " " ${RPI_DEVICE_STORAGE_TYPE} "
210212log " Post-flash customization script completed"
211213
212- metadata_gather
213214record_state " ${TARGET_DEVICE_SERIAL} " " ${PROVISIONER_FINISHED} " " ${TARGET_USB_PATH} "
214215
215216log " Provisioning completed. Remove the device from this machine."
Original file line number Diff line number Diff line change @@ -626,15 +626,15 @@ fastboot -s "${FASTBOOT_DEVICE_SPECIFIER}" flash "${RPI_DEVICE_STORAGE_TYPE}"p1
626626fastboot -s " ${FASTBOOT_DEVICE_SPECIFIER} " flash mapper/cryptroot " ${RPI_SB_WORKDIR} " /rootfs-temporary.simg
627627announce_stop " Writing OS images"
628628
629+ metadata_gather
630+
629631# Run customisation script for post-flash stage
630632run_customisation_script " sb-provisioner" " post-flash" " ${FASTBOOT_DEVICE_SPECIFIER} " " ${TARGET_DEVICE_SERIAL} " " ${RPI_DEVICE_STORAGE_TYPE} "
631633
632634announce_start " Set LED status"
633635fastboot -s " ${FASTBOOT_DEVICE_SPECIFIER} " oem led PWR 0
634636announce_stop " Set LED status"
635637
636- metadata_gather
637-
638638record_state " ${TARGET_DEVICE_SERIAL} " " ${PROVISIONER_FINISHED} " " ${TARGET_USB_PATH} "
639639log " Provisioning completed. Remove the device from this machine."
640640
You can’t perform that action at this time.
0 commit comments