Skip to content
Snippets Groups Projects
Verified Commit 4e39e576 authored by Henrik Grimler's avatar Henrik Grimler
Browse files

flashers: drop heimdall_wait_for_device wrapper script

Instead, use new --wait arg added in heimdall 2.1.0. Heimdall then
waits until it detects a compatible device and then continues with
flash action.
parent d8e50373
No related branches found
No related tags found
No related merge requests found
......@@ -421,8 +421,7 @@ flashers: dict[str, dict[str, bool | list[str] | dict[str, list[list[str]]]]] =
"actions": {
"list_devices": [["heimdall", "detect"]],
"flash_rootfs": [
["heimdall_wait_for_device.sh"],
["heimdall", "flash", "--$PARTITION_ROOTFS", "$IMAGE"],
["heimdall", "flash", "--wait", "--$PARTITION_ROOTFS", "$IMAGE"],
],
"flash_kernel": [
[
......@@ -442,14 +441,21 @@ flashers: dict[str, dict[str, bool | list[str] | dict[str, list[list[str]]]]] =
"actions": {
"list_devices": [["heimdall", "detect"]],
"flash_rootfs": [
["heimdall_wait_for_device.sh"],
["heimdall", "flash", "--$PARTITION_ROOTFS", "$IMAGE", "$NO_REBOOT", "$RESUME"],
[
"heimdall",
"flash",
"--wait",
"--$PARTITION_ROOTFS",
"$IMAGE",
"$NO_REBOOT",
"$RESUME",
],
],
"flash_kernel": [
["heimdall_wait_for_device.sh"],
[
"heimdall",
"flash",
"--wait",
"--$PARTITION_KERNEL",
"$BOOT/boot.img$FLAVOR",
"$NO_REBOOT",
......@@ -478,10 +484,10 @@ flashers: dict[str, dict[str, bool | list[str] | dict[str, list[list[str]]]]] =
["rm", "-f", "/vbmeta.img"],
],
"flash_lk2nd": [
["heimdall_wait_for_device.sh"],
[
"heimdall",
"flash",
"--wait",
"--$PARTITION_KERNEL",
"$BOOT/lk2nd.img",
"$NO_REBOOT",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment