Skip to content
Snippets Groups Projects
Verified Commit 6b013c73 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 aeb65f29
No related branches found
No related tags found
No related merge requests found
......@@ -419,8 +419,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": [
[
......@@ -440,14 +439,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",
......@@ -476,10 +482,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.
Finish editing this message first!
Please register or to comment